If you're a library author, it's useful to expose your public types as interfaces, to allow your consumers to extend them if needed.
For example:
To resolve the issues, we can do :
// typings.d.ts interface JQuery { hideChildren(): JQuery }
If you're a library author, it's useful to expose your public types as interfaces, to allow your consumers to extend them if needed.
For example:
To resolve the issues, we can do :
// typings.d.ts interface JQuery { hideChildren(): JQuery }