We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e38daef commit 6b32d60Copy full SHA for 6b32d60
packages/visitors-core/src/getUniqueHashStringVisitor.ts
@@ -8,7 +8,7 @@ import { Visitor } from './visitor';
8
export function getUniqueHashStringVisitor(options: { removeDocs?: boolean } = {}): Visitor<string> {
9
const removeDocs = options.removeDocs ?? false;
10
if (!removeDocs) {
11
- return staticVisitor(node => stringify(node));
+ return staticVisitor(node => stringify(node) as string);
12
}
13
- return mapVisitor(removeDocsVisitor(), node => stringify(node));
+ return mapVisitor(removeDocsVisitor(), node => stringify(node) as string);
14
0 commit comments