vue3-core/packages/dts-test
Evan You eaf5455d77
chore: Merge branch 'main' into minor
2024-08-07 18:25:58 +08:00
..
README.md test: defineOptions dts tests (#10849) 2024-05-04 04:27:23 +08:00
appDirective.test-d.ts
appUse.test-d.ts
built.test-d.ts
compiler.test-d.ts
component.test-d.ts
componentInstance.test-d.tsx
componentTypeExtensions.test-d.tsx types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2024-04-25 16:04:03 +08:00
defineComponent.test-d.tsx feat(types): provide internal options for using refs type in language tools (#11492) 2024-08-05 10:50:43 +08:00
defineCustomElement.test-d.ts fix(types/custome-element): `defineCustomElement` props inference with array emits (#11384) 2024-08-05 11:14:36 +08:00
directives.test-d.ts types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2024-04-25 16:04:03 +08:00
extractProps.test-d.ts
functionalComponent.test-d.tsx
h.test-d.ts fix(types): fix functional component for `h` (#9991) 2024-01-09 16:45:05 +08:00
inject.test-d.ts fix(types): allow using InjectionKey as valid property key 2024-08-02 11:11:03 +08:00
package.json
reactivity.test-d.ts fix(types/apiWatch): correct type inference for reactive array (#11036) 2024-06-10 16:07:25 +08:00
ref.test-d.ts chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
setupHelpers.test-d.ts chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
tsconfig.test.json
tsx.test-d.tsx fix(types): allow `null` type for textarea value (#9997) 2024-01-08 22:58:27 +08:00
utils.d.ts
watch.test-d.ts fix: Revert "fix(types/ref): allow getter and setter types to be unrelated (#11442)" 2024-08-07 18:12:07 +08:00

README.md

dts-test

Tests TypeScript types to ensure the types remain as expected.

  • This directory is included in the root tsconfig.json, where package imports are aliased to src directories, so in IDEs and the pnpm check script the types are validated against source code.

  • When running tsc with packages/dts-test/tsconfig.test.json, packages are resolved using normal node resolution, so the types are validated against actual built types. This requires the types to be built first via pnpm build-dts.