core/packages-private/dts-test
2024-11-15 10:46:59 +08:00
..
appDirective.test-d.ts types: improve app.directive type generics (#11926) 2024-09-16 10:30:04 +08:00
appUse.test-d.ts
built.test-d.ts
compiler.test-d.ts
component.test-d.ts
componentInstance.test-d.tsx
componentTypeExtensions.test-d.tsx
defineComponent.test-d.tsx fix(types): ensure this.$props type does not include string (#12123) 2024-10-11 10:30:09 +08:00
defineCustomElement.test-d.ts
directives.test-d.ts
extractProps.test-d.ts
functionalComponent.test-d.tsx
h.test-d.ts
inject.test-d.ts
package.json
reactivity.test-d.ts
README.md
ref.test-d.ts fix(types/ref): handle nested refs in UnwrapRef (#12049) 2024-09-27 10:23:01 +08:00
setupHelpers.test-d.ts fix(types): defineEmits w/ interface declaration (#12343) 2024-11-15 10:46:59 +08:00
tsconfig.test.json
tsx.test-d.tsx fix(types): added name attribute support to details tag (#11823) 2024-09-05 17:53:05 +08:00
utils.d.ts
watch.test-d.ts

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-private/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.