UNPKG

svelte-preprocess

Version:

A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors

18 lines (17 loc) 624 B
export declare function concat(...arrs: any[]): any[]; /** Paths used by preprocessors to resolve @imports */ export declare function getIncludePaths(fromFilename?: string, base?: string[]): string[]; /** * Checks if a package is installed. * * @export * @param {string} dep * @returns boolean */ export declare function hasDepInstalled(dep: string): Promise<boolean>; export declare function isValidLocalPath(path: string): boolean; export declare function findUp({ what, from }: { what: string; from: string; }): string | null; export declare function setProp(obj: any, keyList: string[], value: any): void;