vue3-core/packages/dts-test
Evan You 3a56315f94
fix: Revert "fix(types/ref): correct type inference for nested refs (#11536)"
This reverts commit 536f62332c.
2024-08-07 18:11:39 +08:00
..
README.md chore: standardize the spelling of TypeScript (#10186) [ci skip] 2024-02-20 21:43:45 +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 refactor(types): use explicit modifiers type (#10856) 2024-05-07 06:23:04 +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 fix(types): improve `app.provide` type checking (#10603) 2024-06-10 16:09:46 +08:00
package.json chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
reactivity.test-d.ts fix(types/apiWatch): correct type inference for reactive array (#11036) 2024-06-10 16:07:25 +08:00
ref.test-d.ts fix: Revert "fix(types/ref): correct type inference for nested refs (#11536)" 2024-08-07 18:11:39 +08:00
setupHelpers.test-d.ts fix(types/withDefaults): ensure default values of type `any` do not include `undefined` (#11490) 2024-08-05 10:59:44 +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/ref): allow getter and setter types to be unrelated (#11442) 2024-07-29 10:52:38 +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.