Skip to content

Commit

Permalink
Add workaround for TypeScript BC-break in declaration files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattacosta committed May 12, 2019
1 parent da3c157 commit 4876fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/node/NodeBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export abstract class NodeBase implements INode {
* they can still be reclaimed automatically when the node is no longer
* referenced.
*/
protected static readonly DiagnosticWeakMap = new WeakMap<NodeBase, ReadonlyArray<SyntaxDiagnostic>>();
protected static readonly DiagnosticWeakMap: WeakMap<NodeBase, ReadonlyArray<SyntaxDiagnostic>> = new WeakMap();

/**
* An empty diagnostic array.
Expand Down

0 comments on commit 4876fbf

Please sign in to comment.