TypeScript/tests/cases/fourslash/getJavaScriptCompletions5.ts

16 lines
392 B
TypeScript
Raw Normal View History

2016-01-06 21:47:26 +01:00
///<reference path="fourslash.ts" />
// @allowNonTsExtensions: true
// @Filename: Foo.js
//// /**
//// * @template T
//// * @param {T} a
//// * @return {T} */
//// function foo(a) { }
//// let x = /*1*/foo;
//// foo(1)./**/
goTo.marker('1');
goTo.marker();
verify.completionListContains("toExponential", /*displayText:*/ undefined, /*documentation*/ undefined, "method");