There was an error while loading. Please reload this page.
TypeScript Version: 2.6.0-rc
Code
let a: [string] = ['a', 'b'];
Expected behavior: Error: [string, string] is not compatible with [string].
Actual behavior: Compiles A-ok
TypeScript Version: 2.6.0-rc
Code
Expected behavior:
Error: [string, string] is not compatible with [string].
Actual behavior:
Compiles A-ok