printer-notifications/node_modules/svelte-preprocess/dist/modules/utils.d.ts
2023-11-13 16:10:04 -05:00

19 lines
691 B
TypeScript

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;
export declare const JAVASCRIPT_RESERVED_KEYWORD_SET: Set<string>;