vue3-core/packages/dts-test
Evan You 8fda856a82 refactor: split out useModel implementation and tests 2024-01-11 18:04:47 +08:00
..
README.md chore: fix typo (#8392) 2023-06-10 17:09:44 +08:00
appDirective.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
appUse.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
built.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
compiler.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
component.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
componentInstance.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
componentTypeExtensions.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
defineComponent.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
defineCustomElement.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
extractProps.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
functionalComponent.test-d.tsx style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
h.test-d.ts fix(types): fix functional component for `h` (#9991) 2024-01-09 16:45:05 +08:00
inject.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
package.json chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
reactivity.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
ref.test-d.ts style: update format & lint config (#9162) 2023-12-26 19:39:47 +08:00
setupHelpers.test-d.ts refactor: split out useModel implementation and tests 2024-01-11 18:04:47 +08:00
tsconfig.test.json build: adjust dts test setup 2023-02-03 17:10:31 +08:00
tsx.test-d.tsx fix(types): allow `null` type for textarea value (#9997) 2024-01-08 22:58:27 +08:00
utils.d.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
watch.test-d.ts fix(types): fix defineModel watch type error (#9942) 2023-12-30 08:22:56 +08:00

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.