Skip to content

Commit

Permalink
Removed the "typescript/definitions" element of package.json because …
Browse files Browse the repository at this point in the history
…it is strongly argumented against.

http://angularclass.com/the-state-of-typescript-packages/
"TSD has a concept called tsd link, which references the type definition (typescript.definition in package.json) from the tsd.d.ts file in typings/. That means the TypeScript definition in your module needs to be ambient and can’t just be the output from the TypeScript compiler. This kind of concept resulted in more hacks and tools as dts-generator, which takes the TypeScript compiler .d.ts files and wraps them in your modules name so other tools can use them."

DefinitelyTyped/tsd#269
  • Loading branch information
dfahlander committed Mar 14, 2016
1 parent d24b098 commit 0eaec3b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
"main": "dist/dexie.js",
"jsnext:main": "dist/dexie.es6.js",
"typings": "dist/dexie.d.ts",
"typescript": {
"definitions": [
"dist/dexie.d.ts"
]
},
"jspm": {
"main": "dist/dexie.es6.js",
"format": "esm"
Expand Down

0 comments on commit 0eaec3b

Please sign in to comment.