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 style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
appUse.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
built.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
compiler.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
component.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
componentInstance.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
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 style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
functionalComponent.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
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 chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
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 build: adjust dts test setup 2023-02-03 17:10:31 +08:00
tsx.test-d.tsx fix(types): allow `null` type for textarea value (#9997) 2024-01-08 22:58:27 +08:00
utils.d.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
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.