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.
17 lines
No EOL
403 B
TypeScript
17 lines
No EOL
403 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////module M {
|
|
//// export class C {
|
|
//// foo() { }
|
|
//// }
|
|
//// export module C {
|
|
//// export var /**/C = M.C
|
|
//// }
|
|
////}
|
|
|
|
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
|
|
edit.insert('');
|
|
|
|
goTo.marker();
|
|
verify.quickInfoIs('var M.C.C: typeof M.C');
|
|
verify.numberOfErrorsInCurrentFile(0); |