You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Cannot declare interface for module.exports
TypeScript Version: 2.4
Code
I have tried:
etc.
None of them seem to work. How to do this?
I have posted this question on SO:
https://stackoverflow.com/questions/46994615/declare-current-module-as-having-a-particular-interface
Expected behavior:
I would export to be able to declare the interface for which a CommonJS module should adhere.
Actual behavior:
I cannot seem to find a way to declare the interface for a module's exports.
The text was updated successfully, but these errors were encountered: