UNPKG

@astrauka/wix-code-typescript-wrapper

Version:

Allows to write typescript developing code with Wix Local Editor. Compiles and uploads javascript to Wix.

8 lines (7 loc) 587 B
export declare function getDirectoryFromLibrary(relativePath?: string): string; export declare function getDirectoryFromCaller(relativePath?: string): string; export declare function copyFromTemplate(from: string, to: string): Promise<void>; export declare function copyFromSource(from: string, to: string, options?: object): Promise<void>; export declare function renameInDist(from: string, to: string): Promise<void>; export declare function fileExists(url: string): boolean; export declare function onDistDirectoryExists(path: string, onExistsFn: () => Promise<void>): Promise<void>;