From 8f00b5542caffd14988b923efe4f066b712d2858 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 30 Jul 2021 22:03:41 +0900 Subject: chore: upgrade Rust to 1.54.0 (#11554) --- core/internal.d.ts | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'core/internal.d.ts') diff --git a/core/internal.d.ts b/core/internal.d.ts index 6697f4715..593136722 100644 --- a/core/internal.d.ts +++ b/core/internal.d.ts @@ -48,21 +48,16 @@ declare namespace __bootstrap { */ declare namespace primordials { type UncurryThis unknown> = - ( - self: ThisParameterType, - ...args: Parameters - ) => ReturnType; + (self: ThisParameterType, ...args: Parameters) => ReturnType; type UncurryThisStaticApply< T extends (this: unknown, ...args: unknown[]) => unknown, > = (self: ThisParameterType, args: Parameters) => ReturnType; type StaticApply unknown> = - ( - args: Parameters, - ) => ReturnType; + (args: Parameters) => ReturnType; - export function uncurryThis< - T extends (...args: unknown[]) => unknown, - >(fn: T): (self: ThisType, ...args: Parameters) => ReturnType; + export function uncurryThis unknown>( + fn: T, + ): (self: ThisType, ...args: Parameters) => ReturnType; export function makeSafe( unsafe: NewableFunction, safe: T, -- cgit v1.2.3