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.
15 lines
355 B
TypeScript
15 lines
355 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////module m1c {
|
|
//// export interface I { foo(): void; }
|
|
////}
|
|
////var m1c = 1; // Should be allowed
|
|
////var x: m1c./*1*/;
|
|
////var /*2*/r = m1c;
|
|
|
|
goTo.marker('1');
|
|
verify.completionListContains('I');
|
|
verify.not.completionListContains('foo');
|
|
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('var r: number');
|