'How to declare module in typescript `.d.ts`file?
I found this code in lodash's .d.ts file.
import _ = require("../index");
declare module "../index" {
interface LoDashStatic {
...
}
}
What dose this code declare? Why there is no export before interface?
What's the difference between with export or without export inside declare module?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
