diff --git a/src/compiler/core.ts b/src/compiler/core.ts index c0d5cae7bae..1e02da30c39 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -260,7 +260,7 @@ namespace ts { } clear(): void { - this.data = createDictionaryObject(); + this.data = createDictionaryObject>(); this.size = 0; // Reset the linked list. Note that we must adjust the forward