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 da3c157 commit 4876fbfCopy full SHA for 4876fbf
src/language/node/NodeBase.ts
@@ -41,7 +41,7 @@ export abstract class NodeBase implements INode {
41
* they can still be reclaimed automatically when the node is no longer
42
* referenced.
43
*/
44
- protected static readonly DiagnosticWeakMap = new WeakMap<NodeBase, ReadonlyArray<SyntaxDiagnostic>>();
+ protected static readonly DiagnosticWeakMap: WeakMap<NodeBase, ReadonlyArray<SyntaxDiagnostic>> = new WeakMap();
45
46
/**
47
* An empty diagnostic array.
0 commit comments