Evan You eaf5455d77 chore: Merge branch 'main' into minor hai 1 ano
..
README.md 9b82005bf3 test: defineOptions dts tests (#10849) %!s(int64=2) %!d(string=hai) anos
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
componentTypeExtensions.test-d.tsx 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) %!s(int64=2) %!d(string=hai) anos
defineComponent.test-d.tsx 5ffd1a8945 feat(types): provide internal options for using refs type in language tools (#11492) hai 1 ano
defineCustomElement.test-d.ts e94b01bd8a fix(types/custome-element): `defineCustomElement` props inference with array emits (#11384) hai 1 ano
directives.test-d.ts 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) %!s(int64=2) %!d(string=hai) anos
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) %!s(int64=2) %!d(string=hai) anos
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) %!s(int64=2) %!d(string=hai) anos
inject.test-d.ts 321d80758c fix(types): allow using InjectionKey as valid property key hai 1 ano
package.json fc772dbf73 chore: exclude private packages from version updates %!s(int64=2) %!d(string=hai) anos
reactivity.test-d.ts aae2d78875 fix(types/apiWatch): correct type inference for reactive array (#11036) %!s(int64=2) %!d(string=hai) anos
ref.test-d.ts eaf5455d77 chore: Merge branch 'main' into minor hai 1 ano
setupHelpers.test-d.ts eaf5455d77 chore: Merge branch 'main' into minor hai 1 ano
tsconfig.test.json 1ddde63b40 build: adjust dts test setup %!s(int64=3) %!d(string=hai) anos
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) %!s(int64=2) %!d(string=hai) anos
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type %!s(int64=3) %!d(string=hai) anos
watch.test-d.ts e0b2975ef6 fix(types/ref): allow getter and setter types to be unrelated (#11442) hai 1 ano

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.