Evan You f35080daf5 chore: Merge branch 'main' into minor 1 ano atrás
..
README.md 9b82005bf3 test: defineOptions dts tests (#10849) 2 anos atrás
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
componentTypeExtensions.test-d.tsx 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2 anos atrás
defineComponent.test-d.tsx 96e4738334 fix(types): respect props with default on instance type when using __typeProps 2 anos atrás
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
directives.test-d.ts 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) 2 anos atrás
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 anos atrás
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) 2 anos atrás
inject.test-d.ts 612bbf0507 fix(types): improve `app.provide` type checking (#10603) 2 anos atrás
package.json fc772dbf73 chore: exclude private packages from version updates 2 anos atrás
reactivity.test-d.ts aae2d78875 fix(types/apiWatch): correct type inference for reactive array (#11036) 2 anos atrás
ref.test-d.ts f35080daf5 chore: Merge branch 'main' into minor 1 ano atrás
setupHelpers.test-d.ts 9b82005bf3 test: defineOptions dts tests (#10849) 2 anos atrás
tsconfig.test.json 1ddde63b40 build: adjust dts test setup 3 anos atrás
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) 2 anos atrás
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type 3 anos atrás
watch.test-d.ts e0b2975ef6 fix(types/ref): allow getter and setter types to be unrelated (#11442) 1 ano atrás

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.