丶远方 4af85835f7 fix(types): fix defineModel watch type error (#9942) 2 years ago
..
README.md e78c223b30 chore: fix typo (#8392) 3 years ago
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 years ago
componentTypeExtensions.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 years ago
defineComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 years ago
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 years ago
h.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
inject.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
package.json fc772dbf73 chore: exclude private packages from version updates 2 years ago
reactivity.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
ref.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 years ago
setupHelpers.test-d.ts a772031ea8 feat(defineModel): support modifiers and transformers 2 years ago
tsconfig.test.json 1ddde63b40 build: adjust dts test setup 3 years ago
tsx.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 years ago
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type 3 years ago
watch.test-d.ts 4af85835f7 fix(types): fix defineModel watch type error (#9942) 2 years ago

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.