Models/Objects/A.ts
module App.Models.Objects
{
export class A
{}
}
Models/Abstracts/ISomethingElse.ts
module App.Models.Abstracts
{
export interface ISomethingElse
{
A: A;
}
}
How do i use the module App.Models.Objects
from the ISomethingElse.ts
file?
I have tried referencing:
/// <reference path="../Objects/A.ts" />
But it still cannot find A
because it's in the module. How do i import it?
I have tried importing:
/// <reference path="../Objects/A.ts" />
import A = require("App.Models.Objects");
But it still doesn't compile.
What am i doing wrong?