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

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.