Evan You fca20a39aa fix(types): fix defineComponent props inference when setup() has explicit annotation hai 1 ano
..
README.md 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
appDirective.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
appUse.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
built.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
compiler.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
component.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
componentInstance.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
componentTypeExtensions.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
defineComponent.test-d.tsx fca20a39aa fix(types): fix defineComponent props inference when setup() has explicit annotation hai 1 ano
defineCustomElement.test-d.ts 5e0f6d5f8f fix(types/custom-element): `defineCustomElement` with required props (#11578) hai 1 ano
directives.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
extractProps.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
functionalComponent.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
h.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
inject.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
package.json 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
reactivity.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
ref.test-d.ts 5cf5a1620d fix(types/computed): ensure type safety for `WritableComputedRef` (#11608) hai 1 ano
setupHelpers.test-d.ts fe07f70736 fix(types/defineModel): allow getter and setter types to be unrelated (#11699) hai 1 ano
tsconfig.test.json 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
tsx.test-d.tsx 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
utils.d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano
watch.test-d.ts 6a5b2098e1 workflow: move private packages to separate directory hai 1 ano

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.