TypeScript/tests/cases/fourslash/completionTypeofExpressions.ts
2018-12-25 17:30:04 +08:00

16 lines
286 B
TypeScript

/// <reference path="fourslash.ts" />
//// const x = "str";
//// function test(arg: typeof x./*1*/) {}
//// function test1(arg: typeof (x./*2*/)) {}
verify.completions({
marker: "1",
includes: ['length']
});
verify.completions({
marker: "2",
includes: ['length']
});