12 lines
226 B
TypeScript
12 lines
226 B
TypeScript
|
/// <reference path='fourslash.ts'/>
|
||
|
|
||
|
// Tests that we don't crash for an index signature with no declaration.
|
||
|
|
||
|
// @allowJs: true
|
||
|
|
||
|
// @Filename: /a.js
|
||
|
////const o = {};
|
||
|
////o.[|/*use*/foo|];
|
||
|
|
||
|
verify.goToDefinition("use", []);
|