@envelop/core
Version:
This is the core package for Envelop. You can find a complete documentation here: https://github.com/n1ru4l/envelop
5 lines (4 loc) • 311 B
text/typescript
export declare const documentStringMap: WeakMap<any, string>;
declare function getDocumentString<TDocumentNode>(document: TDocumentNode, print: (doc: TDocumentNode) => string): string;
declare function getDocumentString<TDocumentNode>(document: TDocumentNode): string | undefined;
export { getDocumentString };