Skip to content

Commit 0f1d16c

Browse files
authoredAug 30, 2021
fix: 🐛 TypeScript types generation
1 parent b730d32 commit 0f1d16c

File tree

5 files changed

+6
-18
lines changed

5 files changed

+6
-18
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-multi-select-component",
3-
"version": "4.1.7",
3+
"version": "4.1.8",
44
"description": "Simple and lightweight multiple selection dropdown component with checkboxes, search and select-all",
55
"author": "harshzalavadiya",
66
"license": "MIT",
@@ -11,7 +11,7 @@
1111
"main": "./dist/react-multi-select-component.cjs",
1212
"module": "./dist/react-multi-select-component.module.js",
1313
"unpkg": "./dist/react-multi-select-component.umd.js",
14-
"typings": "./dist/src/src/index.d.ts",
14+
"types": "./dist/index.d.ts",
1515
"scripts": {
1616
"analyze": "size-limit --why",
1717
"build-storybook": "build-storybook",

‎src/typings.d.ts

-1
This file was deleted.

‎tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"include": ["src", "types", "stories", "node_modules/microbundle/index.d.ts"],
2+
"include": ["src", "typings.d.ts"],
33
"compilerOptions": {
44
"skipLibCheck": true,
55
"module": "ESNext",
@@ -8,7 +8,7 @@
88
"importHelpers": true,
99
"declaration": true,
1010
"sourceMap": true,
11-
"rootDir": "./",
11+
"rootDir": "./src",
1212
"strict": true,
1313
"noImplicitAny": false,
1414
"strictNullChecks": true,
@@ -21,7 +21,7 @@
2121
"noImplicitReturns": true,
2222
"noFallthroughCasesInSwitch": true,
2323
"moduleResolution": "node",
24-
"baseUrl": "./",
24+
"baseUrl": "./src",
2525
"jsx": "react",
2626
"esModuleInterop": true
2727
}

‎tsdx.config.js

-12
This file was deleted.

‎typings.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module "*.css";

0 commit comments

Comments
 (0)