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 d1fa945 commit 93c3a30Copy full SHA for 93c3a30
src/compiler/checker.ts
@@ -32190,6 +32190,9 @@ namespace ts {
32190
assignBindingElementTypes(declaration.name, links.type);
32191
}
32192
32193
+ else if (type) {
32194
+ Debug.assertEqual(links.type, type, "Parameter symbol already has a cached type which differs from newly assigned type");
32195
+ }
32196
32197
32198
// When contextual typing assigns a type to a parameter that contains a binding pattern, we also need to push
0 commit comments