printer-notifications/node_modules/svelte-preprocess/dist/modules/utils.d.ts

19 lines
691 B
TypeScript
Raw Normal View History

2023-11-13 21:10:04 +00:00
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>;