Evan You 1d8727ec97 chore: Merge branch 'main' into minor преди 2 години
..
README.md 9b82005bf3 test: defineOptions dts tests (#10849) преди 2 години
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) преди 2 години
componentTypeExtensions.test-d.tsx 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) преди 2 години
defineComponent.test-d.tsx 1d8727ec97 chore: Merge branch 'main' into minor преди 2 години
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
directives.test-d.ts 4cc9ca870c types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent (#3399) преди 2 години
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) преди 2 години
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) преди 2 години
inject.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
package.json fc772dbf73 chore: exclude private packages from version updates преди 2 години
reactivity.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
ref.test-d.ts bfe6b459d3 style: update format & lint config (#9162) преди 2 години
setupHelpers.test-d.ts 9b82005bf3 test: defineOptions dts tests (#10849) преди 2 години
tsconfig.test.json 1ddde63b40 build: adjust dts test setup преди 3 години
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) преди 2 години
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type преди 3 години
watch.test-d.ts 521988d7e1 types(runtime-core): add `OnCleanup` parameter type in `this.$watch` (#9371) преди 2 години

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.