diff --git a/package.json b/package.json index 8fe212c..8cb6a71 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "ink-quicksearch-input", - "version": "1.0.0", + "version": "1.0.1", "description": "Quicksearch Input Component for Ink 2", "main": "build/QuickSearchInput.js", - "types": "src/QuickSearchInput.tsx", + "types": "build/QuickSearchInput.d.ts", "author": { "name": "John O'Sullivan " }, @@ -15,7 +15,7 @@ "start": "node build/examples/ExampleDirectory.js" }, "files": [ - "src/QuickSearchInput.tsx", + "build/QuickSearchInput.d.ts", "build/QuickSearchInput.js", "tsconfig.json" ], diff --git a/tsconfig.json b/tsconfig.json index 81d939f..a458b29 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,7 +19,8 @@ "allowSyntheticDefaultImports": true, "esModuleInterop": true, "typeRoots": ["node_modules/@types"], - "jsx": "react" + "jsx": "react", + "declaration": true }, "typedocOptions": { "mode" : "modules",