TypeScript now allows specification of typings in package.json
kitsonk opened this issue · 0 comments
kitsonk commented
TypeScript will now introspect the package JSON for typings. For example, the following will now work if put into package.json
:
{
"name": "foo",
"author": "Vandelay Industries",
"version": "1.0.0",
"main": "./lib/foo.js",
"typings": "./lib/foo.d.ts"
}
We should standardise on this.