2

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?

T.T
  • 321
  • 2
  • 10

0 Answers0