Evan You 908f70adc0 fix(types): fix app.component() typing with inline defineComponent vor 2 Jahren
..
README.md 9b82005bf3 test: defineOptions dts tests (#10849) vor 2 Jahren
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
componentTypeExtensions.test-d.tsx 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) vor 2 Jahren
defineComponent.test-d.tsx 908f70adc0 fix(types): fix app.component() typing with inline defineComponent vor 2 Jahren
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
directives.test-d.ts 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) vor 2 Jahren
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) vor 2 Jahren
inject.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
package.json fc772dbf73 chore: exclude private packages from version updates vor 2 Jahren
reactivity.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
ref.test-d.ts bfe6b459d3 style: update format & lint config (#9162) vor 2 Jahren
setupHelpers.test-d.ts 9b82005bf3 test: defineOptions dts tests (#10849) vor 2 Jahren
tsconfig.test.json 1ddde63b40 build: adjust dts test setup vor 3 Jahren
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) vor 2 Jahren
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type vor 3 Jahren
watch.test-d.ts 4af85835f7 fix(types): fix defineModel watch type error (#9942) vor 2 Jahren

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.