@sap-ux/store
Version:
NPM module for storing persistent data
14 lines • 724 B
TypeScript
/** Pick the properties listed and return a new object with a shallow-copy */
export declare const pick: <T>(target: T, ...props: Array<keyof T>) => Partial<T> | undefined;
/** Given an `Error` or any other object thrown, returns an `Error` instance */
export declare function errorInstance(e: Error | unknown): NodeJS.ErrnoException;
/** If input in an instance of `Error` return the message property,
* otherwise convert the input to its string representation
*/
export declare function errorString(e: Error | unknown): string;
export declare enum FioriToolsSettings {
dir = ".fioritools"
}
export declare const getFioriToolsDirectory: () => string;
export * from './app-studio';
//# sourceMappingURL=index.d.ts.map