14 lines
873 B
TypeScript
14 lines
873 B
TypeScript
/// <reference types="ts-toolbelt" />
|
|
export declare const isNothing: (value: any) => boolean;
|
|
export declare const isString: (val: any) => val is string;
|
|
export declare const toAbsolutePath: (path: string) => string;
|
|
export declare const ensureString: import("Function/Curry").Curry<(defaultValue: any, text: any) => any>;
|
|
export declare const compact: (input: string[]) => string[];
|
|
export declare const toStringArray: (input: string[]) => string[];
|
|
export declare const isFileSync: (path: string) => boolean;
|
|
export declare const readFileSync: (path: string) => string | undefined;
|
|
export declare const existsP: (path: string) => Promise<unknown>;
|
|
export declare const removeFileP: (path: string) => Promise<void>;
|
|
export declare const filePathsP: (basePath: string, ns: string) => Promise<string[]>;
|
|
export declare const hash: (...values: any[]) => string | undefined;
|