UNPKG

rete-kit

Version:

Rete.js Kit ==== [![Made in Ukraine](https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7)](https://stand-with-ukraine.pp.ua) [![Discord](https://img.shields.io/discord/1081223198055604244?color=%237289da&label=Discord)](https://disco

12 lines (11 loc) 570 B
import { ContentTransformer, PathTransformer } from './transformers'; import { F, InstructionStrategy } from './types'; /** * Strategy for keeping instructions as separate files */ export declare class MultiFileStrategy implements InstructionStrategy { private readonly pathTransformerFactory?; private readonly contentTransformerFactory?; constructor(pathTransformerFactory?: ((instruction: F) => PathTransformer[]) | undefined, contentTransformerFactory?: ((instruction: F) => ContentTransformer[]) | undefined); transform(instructions: F[]): F[]; }