Open st-clair-clarke opened 7 years ago
Read through, but it's unclear to me what's supposed to be in index.js
Thanks for the quick response. Basically, the functions and classes that are exposed are placed in the index.js file. Please take a look at https://github.com/jonschlinkert/array-unique/blob/master/index.js. Thanks again.
Cheers
Hi, I previously asked about the possibility of adding typescrpt definition file to collections. The reply was that it was not currently on the agenda.
Typescript 2.1 now allows the importation of modules without definition files if the module has an index.js file (see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html>Untyped imports. Would you please consider this? It would allow many more of us to use this very helpful module with minimal effort on your part.
Please let me know what you think?