@builder.io/mitosis
Version:
Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io
9 lines (8 loc) • 497 B
TypeScript
export declare const GETTER: RegExp;
export declare const SETTER: RegExp;
export declare const checkIsGetter: (code: string) => RegExpMatchArray | null;
export declare const stripGetter: (str: string) => string;
export declare const replaceGetterWithFunction: (str: string) => string;
export declare const replaceFunctionWithGetter: (str: string) => string;
export declare const extractGetterCodeBlock: (getter: string) => string;
export declare const prefixWithFunction: (str: string) => string;