Evan You 75c8cf63a1 feat(types): provide internal options for directly using user types in language tools (#10801) пре 2 година
..
README.md 3199189901 chore: standardize the spelling of TypeScript (#10186) [ci skip] пре 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 75c8cf63a1 feat(types): provide internal options for directly using user types in language tools (#10801) пре 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 37ba93c213 fix(types): avoid merging object union types when using withDefaults (#10596) пре 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 4af85835f7 fix(types): fix defineModel watch type error (#9942) пре 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-types.