mirror of https://github.com/vuejs/core.git
|
ci / test (push) Has been cancelled
Details
ci / continuous-release (push) Has been cancelled
Details
size data / upload (push) Has been cancelled
Details
Lock Closed Issues / action (push) Has been cancelled
Details
Auto close issues with "can't reproduce" label / close-issues (push) Has been cancelled
Details
Fixed: #14117 Fixed: vuejs/language-tools#5069 |
||
|---|---|---|
| .. | ||
| README.md | ||
| appDirective.test-d.ts | ||
| appUse.test-d.ts | ||
| built.test-d.ts | ||
| compiler.test-d.ts | ||
| component.test-d.ts | ||
| componentInstance.test-d.tsx | ||
| componentTypeExtensions.test-d.tsx | ||
| defineComponent.test-d.tsx | ||
| defineCustomElement.test-d.ts | ||
| directives.test-d.ts | ||
| extractProps.test-d.ts | ||
| functionalComponent.test-d.tsx | ||
| h.test-d.ts | ||
| inject.test-d.ts | ||
| package.json | ||
| reactivity.test-d.ts | ||
| ref.test-d.ts | ||
| scheduler.test-d.ts | ||
| setupHelpers.test-d.ts | ||
| tsconfig.test.json | ||
| tsx.test-d.tsx | ||
| utils.d.ts | ||
| watch.test-d.ts | ||
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 tosrcdirectories, so in IDEs and thepnpm checkscript the types are validated against source code. -
When running
tscwithpackages-private/dts-test/tsconfig.test.json, packages are resolved using normalnoderesolution, so the types are validated against actual built types. This requires the types to be built first viapnpm build-dts.