vue3-core/packages-private/dts-test
czhlin 4b7170625d
fix(types): widen directive arg type from string to any (#13758)
closes #13757
2025-09-24 17:12:25 +08:00
..
README.md
appDirective.test-d.ts fix(types): the directive's modifiers should be optional (#12605) 2025-03-19 11:38:59 +08:00
appUse.test-d.ts types: enhance plugin type inference for better IDE support (#13063) 2025-03-19 11:44:32 +08:00
built.test-d.ts
compiler.test-d.ts
component.test-d.ts
componentInstance.test-d.tsx fix(types): avoid merging component instance into `$props` in `ComponentInstance` (#12870) 2025-05-20 08:44:35 +08:00
componentTypeExtensions.test-d.tsx
defineComponent.test-d.tsx fix(types): exclude `undefined` from inferred prop types with default values (#13007) 2025-05-22 08:03:33 +08:00
defineCustomElement.test-d.ts fix(types/custom-element): `defineCustomElement` with required props (#11578) 2024-08-16 16:22:03 +08:00
directives.test-d.ts fix(types): widen directive arg type from string to any (#13758) 2025-09-24 17:12:25 +08:00
extractProps.test-d.ts
functionalComponent.test-d.tsx
h.test-d.ts
inject.test-d.ts
package.json
reactivity.test-d.ts
ref.test-d.ts feat(types): add type TemplateRef (#12645) 2025-03-14 08:17:49 +08:00
scheduler.test-d.ts chore(types): compatible with TS 5.8 (#12973) 2025-09-02 17:13:08 +08:00
setupHelpers.test-d.ts fix(types): defineEmits w/ interface declaration (#12343) 2024-11-15 10:46:59 +08:00
tsconfig.test.json
tsx.test-d.tsx fix(types): added name attribute support to details tag (#11823) 2024-09-05 17:53:05 +08:00
utils.d.ts
watch.test-d.ts

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-private/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-dts.