svelte-preprocess
Version:
A Svelte preprocessor wrapper with baked in support for common used preprocessors
13 lines (12 loc) • 445 B
TypeScript
export declare function importAny(...modules: string[]): Promise<any>;
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>;