Comparing version 0.2.1 to 0.2.2
@@ -587,4 +587,4 @@ type RpcVersion = '1.0' | '2.0'; | ||
type Aria2TellStatusResult = RpcResult<Partial<Aria2DownloadStatus>>; | ||
type Aria2TellStatusParamsToResult<T extends Aria2TellStatusParams> = RpcResult<NonNullable<T[1]> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T[1]>[number]> : Aria2DownloadStatus>; | ||
type Aria2TellStatusListParamsToResult<T extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] | undefined> = RpcResult<Array<NonNullable<T> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T>[number]> : Aria2DownloadStatus>>; | ||
type Aria2TellStatusParamsToResult<T extends Aria2TellStatusParams> = RpcResult<T[1] extends void ? Aria2DownloadStatus : NonNullable<T[1]> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T[1]>[number]> : Aria2DownloadStatus>; | ||
type Aria2TellStatusListParamsToResult<T extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] | undefined> = RpcResult<Array<T extends void ? Aria2DownloadStatus : NonNullable<T> extends [keyof Aria2DownloadStatus] | (keyof Aria2DownloadStatus)[] ? Pick<Aria2DownloadStatus, NonNullable<T>[number]> : Aria2DownloadStatus>>; | ||
type Aria2TellStatusListParams = [ | ||
@@ -591,0 +591,0 @@ offset: number, |
{ | ||
"name": "maria2", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Simple RPC Library for aria2", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
63064
1425