TypeScript/tests/cases/fourslash/completionTypeofExpressions.ts

16 lines
286 B
TypeScript
Raw Normal View History

2018-12-25 10:30:04 +01:00
/// <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']
});