eed6f0deca
i.e. use "var v: string" instead of "(var) v: string". The parens case should only be used when we're using an english description instead of an actual language construct.
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////// outer
|
|
////var ___proto__ = 10;
|
|
////function foo() {
|
|
//// var __proto__ = "hello";
|
|
//// /**/
|
|
////}
|
|
|
|
goTo.marker('');
|
|
verify.completionListContains("__proto__", '(local var) __proto__: string');
|
|
verify.completionListContains("___proto__", 'var ___proto__: number');
|