2016-01-28 20:02:49 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @allowNonTsExtensions: true
|
|
|
|
// @Filename: file.js
|
|
|
|
//// /**
|
|
|
|
//// * @param {number} a
|
|
|
|
//// * @param {string} b
|
|
|
|
//// */
|
|
|
|
//// exports.foo = function(a, b) {
|
|
|
|
//// a/*a*/;
|
|
|
|
//// b/*b*/
|
|
|
|
//// };
|
|
|
|
|
|
|
|
goTo.marker('a');
|
|
|
|
edit.insert('.');
|
2018-10-30 19:56:34 +01:00
|
|
|
verify.completions({ includes: { name: "toFixed", kind: "method", kindModifiers: "declare" } });
|
2016-01-28 20:02:49 +01:00
|
|
|
|
|
|
|
goTo.marker('b');
|
|
|
|
edit.insert('.');
|
2018-10-30 19:56:34 +01:00
|
|
|
verify.completions({ includes: { name: "substr", kind: "method", kindModifiers: "declare" } });
|