vue3-core/packages/dts-test
Evan You 9f64d2b681 chore: Merge branch 'main' into minor 2023-12-16 14:37:21 +08:00
..
README.md chore: fix typo (#8392) 2023-06-10 17:09:44 +08:00
appDirective.test-d.ts feat(types): support passing generics when registering global directives (#9660) 2023-12-11 22:07:24 +08:00
appUse.test-d.ts types: support app.component to be `defineComponent` (#9662) 2023-11-22 22:18:02 +08:00
built.test-d.ts fix(types): fix ComponentCustomProps augmentation (#9468) 2023-10-24 18:42:47 +08:00
compiler.test-d.ts test: more strict linking in dts tests 2023-02-03 21:41:33 +08:00
component.test-d.ts feat(types): add emits and slots type to `FunctionalComponent` (#8644) 2023-12-08 22:24:58 +08:00
componentInstance.test-d.tsx feat(types): provide ComponentInstance type (#5408) 2023-12-08 22:24:38 +08:00
componentTypeExtensions.test-d.tsx test: more strict linking in dts tests 2023-02-03 21:41:33 +08:00
defineComponent.test-d.tsx fix(types): improve return type withKeys and withModifiers (#9734) 2023-12-04 07:59:01 +08:00
defineCustomElement.test-d.ts fix(types): defineCustomElement using defineComponent return type with emits (#7937) 2023-11-10 13:52:54 +08:00
extractProps.test-d.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
functionalComponent.test-d.tsx fix(types): expose emits as props in functional components (#9234) 2023-12-01 02:37:51 +08:00
h.test-d.ts feat(types): improve event type inference when using `h` with native elements (#9756) 2023-12-11 22:10:01 +08:00
inject.test-d.ts fix(types): retain compatibility for provide() usage with explicit type parameter 2023-05-02 21:35:28 +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): fix reactive collection types (#8960) 2023-12-01 02:33:09 +08:00
ref.test-d.ts test(types): add test for ref/shallowRef generic casting 2023-12-16 13:46:11 +08:00
setupHelpers.test-d.ts feat(defineModel): support local mutation by default, remove local option 2023-12-12 16:47:34 +08:00
tsconfig.test.json build: adjust dts test setup 2023-02-03 17:10:31 +08:00
tsx.test-d.tsx fix(types): add `xmlns:xlink` to `SVGAttributes` (#9300) 2023-12-08 22:16:25 +08:00
utils.d.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
watch.test-d.ts fix(types): fix shallowRef return type with union value type (#7853) 2023-11-10 13:40:47 +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-types.