Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-component-type-helpers

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-component-type-helpers - npm Package Compare versions

Comparing version 1.8.24 to 1.8.25

4

index.d.ts

@@ -17,3 +17,3 @@ export declare const code: string;

T extends new () => { $slots: infer S; } ? NonNullable<S> :
T extends (props: any, ctx: { slots: infer S; }, ...args: any) => any ? NonNullable<S> :
T extends (props: any, ctx: { slots: infer S; attrs: any; emit: any; }, ...args: any) => any ? NonNullable<S> :
{};

@@ -23,3 +23,3 @@

T extends new () => { $emit: infer E; } ? NonNullable<E> :
T extends (props: any, ctx: { emit: infer E; }, ...args: any) => any ? NonNullable<E> :
T extends (props: any, ctx: { slots: any; attrs: any; emit: infer E; }, ...args: any) => any ? NonNullable<E> :
{};

@@ -26,0 +26,0 @@

@@ -16,3 +16,3 @@ // @ts-check

T extends new () => { $slots: infer S; } ? NonNullable<S> :
T extends (props: any, ctx: { slots: infer S; }, ...args: any) => any ? NonNullable<S> :
T extends (props: any, ctx: { slots: infer S; attrs: any; emit: any; }, ...args: any) => any ? NonNullable<S> :
{};

@@ -22,3 +22,3 @@

T extends new () => { $emit: infer E; } ? NonNullable<E> :
T extends (props: any, ctx: { emit: infer E; }, ...args: any) => any ? NonNullable<E> :
T extends (props: any, ctx: { slots: any; attrs: any; emit: infer E; }, ...args: any) => any ? NonNullable<E> :
{};

@@ -30,11 +30,2 @@

{};
/**
* Vue 2.x
*/
export type Vue2ComponentSlots<T> =
T extends new () => { $scopedSlots: infer S; } ? NonNullable<S> :
T extends (props: any, ctx: { slots: infer S; }, ...args: any) => any ? NonNullable<S> :
{};
`.trim();

@@ -41,0 +32,0 @@

{
"name": "vue-component-type-helpers",
"version": "1.8.24",
"version": "1.8.25",
"license": "MIT",

@@ -14,3 +14,3 @@ "files": [

},
"gitHead": "6f850196d6b9cd1bee62104d3d92867cf0b6777e"
"gitHead": "6f8ca45025b8e38a86f6946bbc294a6a2d88b063"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc