15 lines
929 B
TypeScript
15 lines
929 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 filePathsP: (basePath: string, ns: string) => Promise<string[]>;
|
|
export declare const hash: (...values: any[]) => string | undefined;
|
|
export declare function getValueP(path: string, defaultValue?: any): Promise<any>;
|
|
export declare const toGetValue: (data: any) => any;
|
|
export declare const toJson: (value: any) => string;
|