mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 20:33:45 -05:00
Don't show the currently-completing thing at the cursor in JS files
Fixes #6693
(cherry picked from commit 124bd517e7)
This commit is contained in:
committed by
Bill Ticehurst
parent
96ec9be665
commit
f84bbcdf59
21
tests/cases/fourslash/getJavaScriptCompletions20.ts
Normal file
21
tests/cases/fourslash/getJavaScriptCompletions20.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @allowNonTsExtensions: true
|
||||
// @Filename: file.js
|
||||
//// /**
|
||||
//// * A person
|
||||
//// * @constructor
|
||||
//// * @param {string} name - The name of the person.
|
||||
//// * @param {number} age - The age of the person.
|
||||
//// */
|
||||
//// function Person(name, age) {
|
||||
//// this.name = name;
|
||||
//// this.age = age;
|
||||
//// }
|
||||
////
|
||||
////
|
||||
//// Person.getName = 10;
|
||||
//// Person.getNa/**/ = 10;
|
||||
|
||||
goTo.marker();
|
||||
verify.not.memberListContains('getNa');
|
||||
Reference in New Issue
Block a user