cafe-utility 11.0.1 → 11.0.2
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.
- package/index.d.ts +5 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -352,11 +352,11 @@ declare function tickPlaybook<T>(playbook: Playbook<T>): {
|
|
|
352
352
|
progress: number;
|
|
353
353
|
data: T;
|
|
354
354
|
} | null;
|
|
355
|
-
declare function getArgument(args: string[], key: string, env?: Record<string, string>, envKey?: string): string | null;
|
|
356
|
-
declare function getNumberArgument(args: string[], key: string, env?: Record<string, string>, envKey?: string): number | null;
|
|
357
|
-
declare function getBooleanArgument(args: string[], key: string, env?: Record<string, string>, envKey?: string): boolean | null;
|
|
358
|
-
declare function requireStringArgument(args: string[], key: string, env?: Record<string, string>, envKey?: string): string;
|
|
359
|
-
declare function requireNumberArgument(args: string[], key: string, env?: Record<string, string>, envKey?: string): number;
|
|
355
|
+
declare function getArgument(args: string[], key: string, env?: Record<string, string | undefined>, envKey?: string): string | null;
|
|
356
|
+
declare function getNumberArgument(args: string[], key: string, env?: Record<string, string | undefined>, envKey?: string): number | null;
|
|
357
|
+
declare function getBooleanArgument(args: string[], key: string, env?: Record<string, string | undefined>, envKey?: string): boolean | null;
|
|
358
|
+
declare function requireStringArgument(args: string[], key: string, env?: Record<string, string | undefined>, envKey?: string): string;
|
|
359
|
+
declare function requireNumberArgument(args: string[], key: string, env?: Record<string, string | undefined>, envKey?: string): number;
|
|
360
360
|
declare function bringToFrontInPlace<T>(array: T[], index: number): void;
|
|
361
361
|
declare function bringToFront<T>(array: T[], index: number): T[];
|
|
362
362
|
declare type Point = {
|