daiwei fe0c915b99 chore: Merge branch 'main' into minor il y a 1 semaine
..
vapor 6effe941e8 types(runtime-vapor): add $props type for JSX to detect props types (#14398) il y a 2 mois
README.md 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
appDirective.test-d.ts 10e54dcc86 fix(types): the directive's modifiers should be optional (#12605) il y a 1 an
appUse.test-d.ts f6f64befb8 types: enhance plugin type inference for better IDE support (#13063) il y a 1 an
built.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
compiler.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
component.test-d.ts 08598a6bed chore(style): migrate linting to oxlint (#13326) il y a 4 mois
componentInstance.test-d.tsx f44feed6fa fix(types): avoid merging component instance into `$props` in `ComponentInstance` (#12870) il y a 11 mois
componentTypeExtensions.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
defineComponent.test-d.tsx 7bf898b23d chore: Merge branch 'main' into minor il y a 1 mois
defineCustomElement.test-d.ts 5e0f6d5f8f fix(types/custom-element): `defineCustomElement` with required props (#11578) il y a 1 an
directives.test-d.ts 4b7170625d fix(types): widen directive arg type from string to any (#13758) il y a 7 mois
extractProps.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
functionalComponent.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
h.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
inject.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
package.json 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an
reactivity.test-d.ts 302c47a499 fix(types): use private branding for shallowReactive (#14641) il y a 3 semaines
ref.test-d.ts 302c47a499 fix(types): use private branding for shallowReactive (#14641) il y a 3 semaines
scheduler.test-d.ts 4810f1489f chore(types): compatible with TS 5.8 (#12973) il y a 7 mois
setupHelpers.test-d.ts f33b308102 types(defineProps): avoid never props becoming boolean flags (#14059) il y a 4 mois
tsconfig.test.json 9d9efd493e feat(runtime-vapor): implement defineVaporComponent types (#13831) il y a 4 mois
tsx.test-d.tsx bbb89775b1 fix(types): narrow useAttrs class/style typing for TSX (#14492) il y a 1 mois
utils.d.ts 9d9efd493e feat(runtime-vapor): implement defineVaporComponent types (#13831) il y a 4 mois
watch.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory il y a 1 an

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.