I've got 3 modules in 3 separate folders, each (test-wise) with one file:
- components/pagedList.ts
- directives/testDirective.ts
- entity1/entity1.ts
Which approx. look like this
// pagedList.ts
module App.Components {
export interface IPagedList<T> {
...
}
}
// testDirective.ts
module App.Directives {
export class TestDirective {
...
}
}
// entity1.ts
module App.Entity1 {
export interface IEntity1 {
...
}
}
When I try to reference them as dependencies, it works for all except module App.Components
. Both Intellisense (Visual Studio) as well as my typescript grunt task are unable to find symbol 'App.Components'
. Is this a reserved keyword or something? Edit: Tried renaming and relocating, still not working though.
var dependencies = [
"ui.router",
"ui.bootstrap",
Components, // Unable to find symbol 'Components'
Directives,
Entity1,
];