diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2022-06-01 10:19:18 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-01 10:19:18 +1000 |
| commit | 7eee521199e9735ab7c347d99e9d90ba3046be1a (patch) | |
| tree | 2528f05c15f6e689c1cb409a6bbe554b2507fc40 /cli/dts/lib.es2015.core.d.ts | |
| parent | c41544ac7b502fbdb6c1ee96a604490b72eb7770 (diff) | |
feat: update to TypeScript 4.7 (#14242)
Diffstat (limited to 'cli/dts/lib.es2015.core.d.ts')
| -rw-r--r-- | cli/dts/lib.es2015.core.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/dts/lib.es2015.core.d.ts b/cli/dts/lib.es2015.core.d.ts index eec8dde90..e55dc65c8 100644 --- a/cli/dts/lib.es2015.core.d.ts +++ b/cli/dts/lib.es2015.core.d.ts @@ -283,7 +283,7 @@ interface ObjectConstructor { * @param target The target object to copy to. * @param source The source object from which to copy properties. */ - assign<T, U>(target: T, source: U): T & U; + assign<T extends {}, U>(target: T, source: U): T & U; /** * Copy the values of all of the enumerable own properties from one or more source objects to a @@ -292,7 +292,7 @@ interface ObjectConstructor { * @param source1 The first source object from which to copy properties. * @param source2 The second source object from which to copy properties. */ - assign<T, U, V>(target: T, source1: U, source2: V): T & U & V; + assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V; /** * Copy the values of all of the enumerable own properties from one or more source objects to a @@ -302,7 +302,7 @@ interface ObjectConstructor { * @param source2 The second source object from which to copy properties. * @param source3 The third source object from which to copy properties. */ - assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W; + assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W; /** * Copy the values of all of the enumerable own properties from one or more source objects to a |
