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
Re-posting this from a comment on a PR to add replace tsd with typings:
Firstly, IMHO the main benefit of typings over tsd is the paradigm shift in how type definitions are written. This means moving away from ambient modules that pollute the global namespace towards external modules that are well contained. This is an excellent change!
Unfortunately, most of the type definitions in use by this project haven't been converted to external modules when I checked. So, while typings can include the existing ambient modules from the definitely typed repository, we'd still be using the original ambient modules.
Secondly, I found that the typings CLI tool isn't as flexible as tsd is.
Currently, this project has two tsd configuration files: tsd.json for type definitions used by the application and tsd.tests.json for type definitions specific to the unit testing.
The tsd command line tool allows you to specify which configuration file to use (tsd rebundle --config tsd.tests.json) while typings does not. So I would have to move from the current directory structure of:
Running npm install gives the following warning:
npm WARN deprecated tsd@0.6.5: TSD is deprecated in favor of Typings (https://github.com/typings/typings) - see DefinitelyTyped/tsd#269 for more information
The text was updated successfully, but these errors were encountered: