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

@waiting/shared-types

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-types - npm Package Compare versions

Comparing version 23.12.0 to 23.13.0

6

dist/lib/func.d.ts

@@ -12,11 +12,11 @@ export interface Func {

*/
export type MethodType<ArgsType extends unknown[] = any[], ReturnType = any | Promise<any>, TThis extends unknown = void> = (this: TThis, ...input: ArgsType) => ReturnType;
export type MethodType<ArgsType extends unknown[] = any[], ReturnType = any | Promise<any>, TThis = any> = (this: TThis, ...input: ArgsType) => ReturnType;
/**
* ReturnType is unknown
*/
export type MethodTypeUnknown<ArgsType extends any[] = any[], ReturnType extends unknown = unknown, TThis extends unknown = void> = (this: TThis, ...input: ArgsType) => ReturnType;
export type MethodTypeUnknown<ArgsType extends any[] = any[], ReturnType = unknown, TThis = any> = (this: TThis, ...input: ArgsType) => ReturnType;
/**
* ReturnType is Promise<unknown>
*/
export type AsyncMethodType<ArgsType extends any[] = any[], ResultType extends unknown = unknown, TThis extends unknown = void> = (this: TThis, ...input: ArgsType) => Promise<ResultType>;
export type AsyncMethodType<ArgsType extends any[] = any[], ResultType = unknown, TThis = any> = (this: TThis, ...input: ArgsType) => Promise<ResultType>;
//# sourceMappingURL=func.d.ts.map
{
"name": "@waiting/shared-types",
"author": "waiting",
"version": "23.12.0",
"version": "23.13.0",
"description": "shared typescript types",

@@ -70,3 +70,3 @@ "keywords": [

},
"gitHead": "9218536c22fdd89084cd5ed86eebefaf6eddc670"
"gitHead": "ddbb204bc43beb1926179b50eb9d9fb73c0da3ba"
}

@@ -20,3 +20,3 @@ /* eslint-disable @typescript-eslint/no-redundant-type-constituents */

ReturnType = any | Promise<any>,
TThis extends unknown = void,
TThis = any,
> = (this: TThis, ...input: ArgsType) => ReturnType

@@ -28,4 +28,4 @@ /**

ArgsType extends any[] = any[],
ReturnType extends unknown = unknown,
TThis extends unknown = void,
ReturnType = unknown,
TThis = any,
> = (this: TThis, ...input: ArgsType) => ReturnType

@@ -38,5 +38,5 @@

ArgsType extends any[] = any[],
ResultType extends unknown = unknown,
TThis extends unknown = void,
ResultType = unknown,
TThis = any,
> = (this: TThis, ...input: ArgsType) => Promise<ResultType>

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