{"library":"vue-ts-types","type":"library","category":null,"description":"vue-ts-types is a lightweight, TypeScript-first library designed to simplify and enhance the definition of Vue.js component props. It provides a fluent API for declaring prop types, addressing common pain points such as verbose prop declarations (especially when using Vue's built-in PropType utility), error-prone optional complex prop annotations (e.g., forgetting to union with `| undefined`), contradictions between `required` and `default` properties which lead to ambiguous behavior and ESLint warnings, and the inability to provide helpful custom validation error messages beyond a boolean result. The library is currently at version 1.9.0 and maintains an active release cadence with frequent minor updates. It supports both Vue 2.6+ and Vue 3.2+, shipping with full TypeScript type definitions. Since v1.9.0, it provides dual CommonJS and ES Module support, ensuring broad compatibility. Its core value lies in making prop definitions significantly more concise, type-safe, and less prone to common development errors in Vue projects utilizing TypeScript.","language":"javascript","status":"active","version":"1.9.0","tags":["javascript","vue","vue2","vue3","vuejs","vuejs2","vuejs3","typescript","prop-types"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-ts-types","imports":["import { stringProp } from 'vue-ts-types'","import { oneOfProp } from 'vue-ts-types'","import { isPositive } from 'vue-ts-types'"]},{"cmd":"yarn add vue-ts-types","imports":[]},{"cmd":"pnpm add vue-ts-types","imports":[]}],"homepage":null,"github":"https://github.com/FloEdelmann/vue-ts-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-ts-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-ts-types/compatibility"}}