Skip to content

Commit e4b74d7

Browse files
authored
fix type missing (#29)
1 parent 016bd95 commit e4b74d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@
132132
"lint:secret": "npx secretlint \"**/*\"",
133133
"release:prepare": "shipjs prepare",
134134
"release:trigger": "shipjs trigger",
135-
"test": "npm run lint && npm run test:cover",
135+
"test": "npm run lint && npm run test:type && npm run test:cover",
136+
"test:type": "tsc -p . --noEmit",
136137
"test:cover": "nyc mocha -r jiti/register test/*",
137138
"test:unit": "mocha -r jiti/register test/*",
138139
"watch": "tsc -p . --watch"

src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
LocaleMessages,
1111
LocaleMessageDictionary,
1212
CoreContext
13-
} from '@intlify/core'
13+
} from '@intlify/core-base'
1414

1515
const dirname = path.dirname(new URL(import.meta.url).pathname)
1616
const debug = createDebug('@intlify/cli:i18n')

0 commit comments

Comments
 (0)