legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
37 lines • 1.09 kB
TypeScript
/**
* Browser shim for cosmiconfig.
* Config file discovery is a Node.js-only concern; this stub satisfies the
* import without pulling any Node.js APIs into the browser bundle.
*/
export declare const cosmiconfig: () => {
search: () => Promise<null>;
load: () => Promise<null>;
clearLoadCache: () => void;
clearSearchCache: () => void;
clearCaches: () => void;
};
export declare const cosmiconfigSync: () => {
search: () => null;
load: () => null;
clearLoadCache: () => void;
clearSearchCache: () => void;
clearCaches: () => void;
};
declare const _default: {
cosmiconfig: () => {
search: () => Promise<null>;
load: () => Promise<null>;
clearLoadCache: () => void;
clearSearchCache: () => void;
clearCaches: () => void;
};
cosmiconfigSync: () => {
search: () => null;
load: () => null;
clearLoadCache: () => void;
clearSearchCache: () => void;
clearCaches: () => void;
};
};
export default _default;
//# sourceMappingURL=cosmiconfig-shim.d.ts.map