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
No EOL
375 B
TypeScript
15 lines
No EOL
375 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////module M {
|
|
//// export function C() {}
|
|
//// 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); |