Tycho 536f62332c fix(types/ref): correct type inference for nested refs (#11536) 1 år sedan
..
README.md 3199189901 chore: standardize the spelling of TypeScript (#10186) [ci skip] 2 år sedan
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
componentTypeExtensions.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
defineComponent.test-d.tsx 481b1b6f38 refactor(types): use explicit modifiers type (#10856) 2 år sedan
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) 2 år sedan
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) 2 år sedan
inject.test-d.ts 612bbf0507 fix(types): improve `app.provide` type checking (#10603) 1 år sedan
package.json fc772dbf73 chore: exclude private packages from version updates 2 år sedan
reactivity.test-d.ts aae2d78875 fix(types/apiWatch): correct type inference for reactive array (#11036) 1 år sedan
ref.test-d.ts 536f62332c fix(types/ref): correct type inference for nested refs (#11536) 1 år sedan
setupHelpers.test-d.ts 4592b63c6a fix(types/withDefaults): ensure default values of type `any` do not include `undefined` (#11490) 1 år sedan
tsconfig.test.json 1ddde63b40 build: adjust dts test setup 3 år sedan
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) 2 år sedan
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type 3 år sedan
watch.test-d.ts e0b2975ef6 fix(types/ref): allow getter and setter types to be unrelated (#11442) 1 år sedan

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.