Skip to content

Commit

Permalink
fix: types 缺失
Browse files Browse the repository at this point in the history
  • Loading branch information
MinJieLiu committed Jan 3, 2022
1 parent 7de5998 commit ad6de34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "immot",
"version": "0.2.0",
"version": "0.2.1",
"type": "module",
"description": "",
"description": "Create a new copy without changing the original data.",
"exports": "./dist/immot.modern.js",
"source": "src/immot.ts",
"main": "./dist/immot.cjs",
"module": "./dist/immot.module.js",
"unpkg": "./dist/immot.umd.js",
"types": "./dist/immot.d.ts",
"scripts": {
"build": "microbundle",
"dev": "microbundle watch",
Expand Down Expand Up @@ -37,6 +38,7 @@
},
"files": [
"dist",
"src"
"src",
"tests"
]
}
10 changes: 3 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": [
"ESNext",
"dom"
],
"lib": ["ESNext", "dom"],
"skipLibCheck": true,
"strictNullChecks": true,
"esModuleInterop": true,
Expand All @@ -21,7 +18,6 @@
"suppressImplicitAnyIndexErrors": true,
"isolatedModules": true
},
"exclude": [
"node_modules"
]
"include": ["src"],
"exclude": ["node_modules"]
}

0 comments on commit ad6de34

Please sign in to comment.