@types/deasync
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -34,23 +34,35 @@ // Type definitions for deasync 0.1 | ||
declare function deasync(fn: (callback: CallbackWithoutResult) => void): () => void; | ||
declare function deasync<T1, TResult>(fn: (arg1: T1, callback: CallbackWithResult<TResult>) => void): (arg1: T1) => TResult; | ||
declare function deasync<T1, TResult>( | ||
fn: (arg1: T1, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1) => TResult; | ||
declare function deasync<T1>(fn: (arg1: T1, callback: CallbackWithoutResult) => void): (arg1: T1) => void; | ||
declare function deasync<T1, T2, TResult>(fn: (arg1: T1, arg2: T2, callback: CallbackWithResult<TResult>) => void): (arg1: T1, arg2: T2) => TResult; | ||
declare function deasync<T1, T2>(fn: (arg1: T1, arg2: T2, callback: CallbackWithoutResult) => void): (arg1: T1, arg2: T2) => void; | ||
declare function deasync<T1, T2, T3, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: CallbackWithResult<TResult>) => void): (arg1: T1, arg2: T2, arg3: T3) => TResult; | ||
declare function deasync<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: CallbackWithoutResult) => void): (arg1: T1, arg2: T2, arg3: T3) => void; | ||
declare function deasync<T1, T2, TResult>( | ||
fn: (arg1: T1, arg2: T2, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1, arg2: T2) => TResult; | ||
declare function deasync<T1, T2>( | ||
fn: (arg1: T1, arg2: T2, callback: CallbackWithoutResult) => void, | ||
): (arg1: T1, arg2: T2) => void; | ||
declare function deasync<T1, T2, T3, TResult>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3) => TResult; | ||
declare function deasync<T1, T2, T3>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, callback: CallbackWithoutResult) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3) => void; | ||
declare function deasync<T1, T2, T3, T4, TResult>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: CallbackWithResult<TResult>) => void | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult; | ||
declare function deasync<T1, T2, T3, T4>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: CallbackWithoutResult) => void): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => void; | ||
declare function deasync<T1, T2, T3, T4>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: CallbackWithoutResult) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => void; | ||
declare function deasync<T1, T2, T3, T4, T5, TResult>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: CallbackWithResult<TResult>) => void | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => TResult; | ||
declare function deasync<T1, T2, T3, T4, T5>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: CallbackWithoutResult) => void | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: CallbackWithoutResult) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => void; | ||
declare function deasync<T1, T2, T3, T4, T5, T6, TResult>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: CallbackWithResult<TResult>) => void | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: CallbackWithResult<TResult>) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => TResult; | ||
declare function deasync<T1, T2, T3, T4, T5, T6>( | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: CallbackWithoutResult) => void | ||
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: CallbackWithoutResult) => void, | ||
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => void; | ||
@@ -57,0 +69,0 @@ declare function deasync(fn: (...args: any[]) => void): (...args: any[]) => any; |
{ | ||
"name": "@types/deasync", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "TypeScript definitions for deasync", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/deasync", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "02a5b930f68e3d44dd78d0e9fdee59c997c0a0362008d7a153c645bfce2c89ad", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "33a87624ae2ecbd222651cdd3055b61865a38814a3bf798b039c04306e2dd863", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 21 Sep 2021 18:01:32 GMT | ||
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7066
105