
Security News
Knip Hits 500 Releases with v5.62.0, Improving TypeScript Config Detection and Plugin Integrations
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
vue-component-type-helpers
Advanced tools
Some very simple type helpers used behind vue-component-meta
for extract component props, slots, emit, exposed types.
<template>
<slot name="header" :num="123" />
<slot name="footer" str="abc" />
</template>
<script lang="ts" setup>
defineProps<{
msg: string
}>()
</script>
import HelloWorld from './HelloWorld.vue'
import type { ComponentProps, ComponentSlots } from 'vue-component-type-helpers'
type Props = ComponentProps<typeof HelloWorld> // { msg: string }
type Slots = ComponentSlots<typeof HelloWorld> // { header?: (props: { num: number; }) => any; footer?: (props: { str: string; }) => any; }
3.0.2 (2025-07-18)
globalTypesPath
option for non-npm like environment (#5505) - Thanks to @KazariEX!/
or )
- Thanks to @KazariEX!colorizedBracketPairs
config for plaintext<component>
without is
prop as normal component - Thanks to @KazariEX!@vue/typescript-plugin
last (#5483)name
value of <slot>
- Thanks to @KazariEX!allowJs
to reactivity analyze host - Thanks to @KazariEX!md
for markdown (#5497) - Thanks to @KazariEX!module
from template completion - Thanks to @KazariEX!minimatch
to picomatch
(#5499) - Thanks to @KazariEX!.d.${ext}.ts
file exists (volarjs/volar.js#277)FAQs
Unknown package
The npm package vue-component-type-helpers receives a total of 1,814,358 weekly downloads. As such, vue-component-type-helpers popularity was classified as popular.
We found that vue-component-type-helpers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.