vue3-core/packages/dts-test
Carlos Rodrigues 4cc9ca870c
types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399)
close #3367
2024-04-25 16:04:03 +08:00
..
README.md chore: standardize the spelling of TypeScript (#10186) [ci skip] 2024-02-20 21:43:45 +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 types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2024-04-25 16:04:03 +08:00
defineCustomElement.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +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 style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
package.json chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
reactivity.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
ref.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
setupHelpers.test-d.ts fix(types): avoid merging object union types when using withDefaults (#10596) 2024-04-15 22:50: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): 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(types): fix defineModel watch type error (#9942) 2023-12-30 08:22:56 +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.