Evan You a374d7e6ed release: v3.3.2 3 年之前
..
README.md 7a0a6658c6 docs: update contributing guide 3 年之前
appUse.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
compiler.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
component.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
componentTypeExtensions.test-d.tsx 1e0251a377 test: more strict linking in dts tests 3 年之前
defineComponent.test-d.tsx bdf557f6f2 fix(types): retain type parameters order for public types 3 年之前
defineCustomElement.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
extractProps.test-d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type 3 年之前
functionalComponent.test-d.tsx 5a2f5d59cf feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982) 3 年之前
h.test-d.ts d77557c403 feat(types): `defineComponent()` with generics support (#7963) 3 年之前
inject.test-d.ts 038cd830d5 fix(types): retain compatibility for provide() usage with explicit type parameter 3 年之前
package.json a374d7e6ed release: v3.3.2 3 年之前
reactivity.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
reactivityMacros.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前
ref.test-d.ts 59e828448e feat(reactivity): improve support of getter usage in reactivity APIs (#7997) 3 年之前
setupHelpers.test-d.ts 1279b17300 fix(types): remove short syntax support in defineSlots() 3 年之前
tsconfig.test.json 1ddde63b40 build: adjust dts test setup 3 年之前
tsx.test-d.tsx 28e30c819d fix(types/jsx): remove $slots children override 3 年之前
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type 3 年之前
watch.test-d.ts 1e0251a377 test: more strict linking in dts tests 3 年之前

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 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.