Evan You 8fda856a82 refactor: split out useModel implementation and tests hace 2 años
..
README.md e78c223b30 chore: fix typo (#8392) hace 2 años
appDirective.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
appUse.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
built.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
compiler.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
component.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
componentInstance.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) hace 2 años
componentTypeExtensions.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) hace 2 años
defineComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) hace 2 años
defineCustomElement.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
extractProps.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
functionalComponent.test-d.tsx bfe6b459d3 style: update format & lint config (#9162) hace 2 años
h.test-d.ts 438a74aad8 fix(types): fix functional component for `h` (#9991) hace 2 años
inject.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
package.json fc772dbf73 chore: exclude private packages from version updates hace 2 años
reactivity.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
ref.test-d.ts bfe6b459d3 style: update format & lint config (#9162) hace 2 años
setupHelpers.test-d.ts 8fda856a82 refactor: split out useModel implementation and tests hace 2 años
tsconfig.test.json 1ddde63b40 build: adjust dts test setup hace 3 años
tsx.test-d.tsx c379bc29ef fix(types): allow `null` type for textarea value (#9997) hace 2 años
utils.d.ts bff63c5498 feat(types): provide ExtractPublicPropTypes utility type hace 3 años
watch.test-d.ts 4af85835f7 fix(types): fix defineModel watch type error (#9942) hace 2 años

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.