@scml-dol-maplebirch/types 4.3.4 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +2 -2
  2. package/maplebirch.d.ts +1243 -384
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4,7 +4,7 @@ type Utils = typeof types.utils.publicUtils;
4
4
 
5
5
  declare global {
6
6
  const maplebirch: typeof instance;
7
- function clone(...args: Parameters<Utils['clone']>): ReturnType<Utils['clone']>;
7
+ function clone<T>(...args: Parameters<typeof types.utils.clone<T>>): ReturnType<typeof types.utils.clone<T>>;
8
8
  const equal: Utils['equal'];
9
9
  const merge: Utils['merge'];
10
10
  const append: Utils['append'];
@@ -14,7 +14,7 @@ declare global {
14
14
  const coverfn: Utils['coverfn'];
15
15
  const contains: Utils['contains'];
16
16
  function random(...args: Parameters<Utils['random']>): ReturnType<Utils['random']>;
17
- function either(...args: Parameters<Utils['either']>): ReturnType<Utils['either']>;
17
+ function either<T>(...args: Parameters<typeof types.utils.either<T>>): ReturnType<typeof types.utils.either<T>>;
18
18
  const SelectCase: Utils['SelectCase'];
19
19
  const convert: Utils['convert'];
20
20
  const clamp: Utils['clamp'];