364b08854b
Fixes #6552
21 lines
477 B
TypeScript
21 lines
477 B
TypeScript
/// <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('.');
|
|
verify.completionListContains('toFixed', undefined, undefined, 'method');
|
|
|
|
|
|
goTo.marker('b');
|
|
edit.insert('.');
|
|
verify.completionListContains('substr', undefined, undefined, 'method');
|