Skip to content

Commit 0fbc19f

Browse files
committed
ci: fix dts tests
1 parent fe76c16 commit 0fbc19f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test-unit": "vitest -c vitest.unit.config.ts",
1616
"test-e2e": "node scripts/build.mjs vue -f global -d && vitest -c vitest.e2e.config.ts",
1717
"test-dts": "node scripts/build.mjs shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
18-
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.mjson",
18+
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
1919
"test-coverage": "vitest -c vitest.unit.config.ts --coverage",
2020
"release": "node scripts/release.mjs",
2121
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

test-dts/defineCustomElement.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineCustomElement, expectType, expectError } from './index'
1+
import { defineCustomElement, expectType, expectError, describe } from './index'
22

33
describe('inject', () => {
44
// with object inject

test-dts/ref.test-d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import {
1111
toRefs,
1212
ToRefs,
1313
shallowReactive,
14-
readonly
14+
readonly,
15+
describe
1516
} from './index'
1617

1718
function plainType(arg: number | Ref<number>) {

0 commit comments

Comments
 (0)