From 0eaec3bf223ab8be9c92a2ac18aebade1fb028d8 Mon Sep 17 00:00:00 2001 From: David Fahlander Date: Mon, 14 Mar 2016 12:43:35 +0100 Subject: [PATCH] Removed the "typescript/definitions" element of package.json because it is strongly argumented against. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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." https://github.com/DefinitelyTyped/tsd/issues/269 --- package.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package.json b/package.json index fc19ae646..f6a23c45e 100644 --- a/package.json +++ b/package.json @@ -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"