How to "import" a namespace in a TypeScript Definition file

Viewed 1247

The moment.js type definition is declared within a namespace:

declare namespace moment {
  interface Moment {
...

In order to declare an object of type Moment, I do:

let myMoment: moment.Moment;

My question is - is there a way to "import" the moment namespace so I can avoid repeating every time? Very much like C#.

2 Answers
Related