Skip to content

Commit 9cf1cc3

Browse files
authored
refactor: remove duplicated types (#253)
1 parent a36292b commit 9cf1cc3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.preset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { definePreset } from 'unbuild';
33
// @see https://github.com/unjs/unbuild
44
export default definePreset({
55
clean: true,
6-
declaration: true,
6+
declaration: 'node16',
77
sourcemap: true,
88
rollup: {
99
emitCJS: false,

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"module": "./dist/index.mjs",
77
"exports": {
88
".": {
9-
"types": "./dist/index.d.ts",
9+
"types": "./dist/index.d.mts",
1010
"default": "./dist/index.mjs"
1111
},
1212
"./package.json": "./package.json"
1313
},
14-
"types": "./dist/index.d.ts",
14+
"types": "./dist/index.d.mts",
1515
"repository": {
1616
"type": "git",
1717
"url": "git+https://github.com/bombshell-dev/clack.git",

packages/prompts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"module": "./dist/index.mjs",
77
"exports": {
88
".": {
9-
"types": "./dist/index.d.ts",
9+
"types": "./dist/index.d.mts",
1010
"default": "./dist/index.mjs"
1111
},
1212
"./package.json": "./package.json"
1313
},
14-
"types": "./dist/index.d.ts",
14+
"types": "./dist/index.d.mts",
1515
"repository": {
1616
"type": "git",
1717
"url": "git+https://github.com/bombshell-dev/clack.git",

0 commit comments

Comments
 (0)