vue3-yuanma/test-dts
Herrington Darkholme 6f8bac5fca
test(types): add prop validator test (#1769)
Due to the limitation of TS, prop validator must be fully annotated
refer to https://github.com/microsoft/TypeScript/issues/38623
2020-08-14 17:40:41 -04:00
..
componentTypeExtensions.test-d.tsx feat(types): deny unknown attributes on component by default (#1614) 2020-07-17 11:43:28 -04:00
defineComponent.test-d.tsx test(types): add prop validator test (#1769) 2020-08-14 17:40:41 -04:00
functionalComponent.test-d.tsx fix(types/tsx): add JSX.IntrinsicAttributes definition (#1517) 2020-07-06 21:59:26 -04:00
h.test-d.ts fix(types): ensure correct public props interface for defineComponent instance type 2020-06-16 12:00:18 -04:00
index.d.ts feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
reactivity.test-d.ts feat(types/reactivity): use DeepReadonly type for readonly return type (#1462) 2020-07-15 09:27:21 -04:00
README.md feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
ref.test-d.ts types(reactivity): add dts for proxyRefs & improve typings (#1786) 2020-08-14 17:37:36 -04:00
tsconfig.build.json feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
tsconfig.json feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
tsx.test-d.tsx feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00
watch.test-d.ts feat(types): update to Typescript 3.9 (#1106) 2020-06-09 10:17:42 -04:00

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.