mattiash / angular-tablesort

Sort angularjs tables easily
MIT License
184 stars 66 forks source link

Final fix to the typedefs path #84

Closed ChrisMBarr closed 7 years ago

ChrisMBarr commented 7 years ago

sorry about all these changes for this one thing. This is what I get for not testing things.

The reason for the change now is that the types property is used by TypeScript 2.x's @types stuff to automatically find the typedefs, but people on TypeScript 1.x still need to use the 3rd party typings tool. To satisfy both use cases, we can just reference both properties.

This time I tested it locally and this change worked.