TypeScript/tests/cases/fourslash/typeCheckIndexSignature.ts
2014-07-29 12:17:44 -07:00

12 lines
256 B
TypeScript

/// <reference path="fourslash.ts" />
//// function method() {
//// var dictionary = <{ [index: string]: string; }>{};
//// }
////
edit.disableFormatting(); // Disregard, just here to keep Fourslash happy
diagnostics.validateTypesAtPositions(44);