I am using TSD to manage TypeScript definition files for the web application I am developing.
Should I check TypeScript definition files for external libraries that I use (managed via Bower) in git in addition to the file tsd.json?
tsd.json
Similar discussions exist for the Bower and NPM dependencies, where the NPM documentation says no, and the Bauer afayk no longer gives recommendations (usually yes ).
Definition files are fairly lightweight, so I tend to test them. Any opinions?
npm install , tsd install ? scripts package.json:
npm install
tsd install
scripts
package.json
// package.json "scripts": { "postinstall": "tsd install" }
. , script, , . , .
: , tsd , . npm.
tsd
,
"typings/tsd.d.ts" tsconfig.json , .gitignore "typings/", ...
, :)
: npm , typings/tsd.d.ts, , tsconfig.json... ergo tsd, , .. ... , , , , , , , .
Source: https://habr.com/ru/post/1608789/More articles:How C ++ dereferencing works - operator-keywordIs there a way to set a cookie for 1 request? - javascriptПоиск диапазона в d-пространстве с дискретными координатами - algorithmHow to prevent recompilation when switching between ghci and ghc - emacsWeb crawler keeper visiting URLs in file - javaСтранный стиль с помощью вложенных таблиц стилей в Chrome - cssHow to create an Observable, which works only when there are subscribers, and gives the last value to new subscribers immediately - frpLaravel Spark does not correctly insert css - phpNULL Integer in a multi-column column - postgresqlPHP Created by SVG as Background Image - cssAll Articles