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

vuex-composition-helpers

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuex-composition-helpers - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

2

dist/types/util.d.ts

@@ -12,3 +12,3 @@ import { Ref } from '@vue/composition-api';

export declare type KnownKeys<T> = {
[K in keyof T]: string extends K ? never : number extends K ? never : K;
[K in keyof T]: string extends K ? (T extends any ? any : never) : number extends K ? never : K;
} extends {

@@ -15,0 +15,0 @@ [_ in keyof T]: infer U;

{
"name": "vuex-composition-helpers",
"version": "1.0.16",
"version": "1.0.17",
"description": "Helpers to use Vuex store form Vue Composition API",

@@ -5,0 +5,0 @@ "author": "David Meir-Levy <davidmeirlevy@gmail.com>",

# vuex-composition-helpers
[![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/greenpress/vuex-composition-helpers%2Ftest?type=cf-1)]( https%3A%2F%2Fg.codefresh.io%2Fpipelines%2Ftest%2Fbuilds%3Ffilter%3Dtrigger%3Abuild~Build%3Bpipeline%3A5e915b7d4c3d6b0fd35ac83d~test)
[![npm version](https://badge.fury.io/js/vuex-composition-helpers.svg)](https://badge.fury.io/js/vuex-composition-helpers)

@@ -5,0 +6,0 @@ A util package to use Vuex with Composition API easily.

@@ -1,19 +0,19 @@

import { computed, getCurrentInstance, Ref } from '@vue/composition-api';
import {computed, getCurrentInstance, Ref} from '@vue/composition-api';
declare type OmitFirstArg<F, TReturn> =
F extends (x: any, ...args: infer P) => any
? (...args: P) => TReturn
: never;
? (...args: P) => TReturn
: never;
declare type InferType<T, TUnknown = any> =
T extends (...args: any) => any
? OmitFirstArg<T, ReturnType<T>>
: T extends unknown
? TUnknown
: T;
? OmitFirstArg<T, ReturnType<T>>
: T extends unknown
? TUnknown
: T;
declare type InferGetterType<T> =
T extends (...args: any) => any
? ReturnType<T>
: any;
? ReturnType<T>
: any;

@@ -30,6 +30,6 @@ export declare type ExtractTypes<O, TUnknown = any> = {

[K in keyof T]: string extends K
? never
: number extends K
? never
: K
? (T extends any ? any : never)
: number extends K
? never
: K
} extends {

@@ -36,0 +36,0 @@ [_ in keyof T]: infer U

Sorry, the diff of this file is not supported yet

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