Open Waog opened 9 years ago
I can confirm this issue with a slightly different configuration (using .sublimets).
{
"root": "app.ts"
}
/// <reference path="../Parsing/Nodes/BaseTreeNode.ts" />
module MyModule {
// Could not find symbol 'BaseTreeNode'
var btn = new BaseTreeNode();
}
module MyModule {
export class BaseTreeNode { /* ... */ }
}
I think I just was able to resolve this issue. Adding the /// <reference path="..." />
to the root file will obviously index the files globally. Adding a reference to my root file app.ts
made it available in all other files as well. I'll try to improve the readme.
Hi,
when I split my TypeScipt code among multiple files, I get errors.
i have three files in my sublime-project:
ts/main.ts:
ts/Person.ts:
and the configuration file helloTs.sublime-project:
In the main.ts file the module name
People
is marked with the error messageerror TS2095: Could not find symbol 'People'
.