mirror of https://github.com/vuejs/core.git
returned from `defineComponent` ref: https://github.com/vuejs/vue-router-next/pull/421 also close #1880 Previous `Component` type is now exported as `ConcreteComponent`. This introduces a minor breaking change when calling `h(comp, { ... })` will now fail if `comp` is a of generic `Component` type, since it does not specify what props it expects. |
||
|---|---|---|
| .. | ||
| README.md | ||
| componentTypeExtensions.test-d.tsx | ||
| defineComponent.test-d.tsx | ||
| functionalComponent.test-d.tsx | ||
| h.test-d.ts | ||
| index.d.ts | ||
| reactivity.test-d.ts | ||
| ref.test-d.ts | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsx.test-d.tsx | ||
| watch.test-d.ts | ||
README.md
Test-ts
Tests Typescript types to ensure the types remain as expected.
Configuration
tsconfig.json
Config used to test against the package source
tsconfig.build.json
Replaces the vue and @vue/* dependencies with the built Typescript to ensure the published types are correct.