1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare function dashCaseToCamelCase(input: string): string;
|
9 | export declare function splitAtColon(input: string, defaultValues: string[]): string[];
|
10 | export declare function splitAtPeriod(input: string, defaultValues: string[]): string[];
|
11 | export declare function noUndefined<T>(val: T | undefined): T;
|
12 | export declare function error(msg: string): never;
|
13 | export declare function escapeRegExp(s: string): string;
|
14 | export declare type Byte = number;
|
15 | export declare function utf8Encode(str: string): Byte[];
|
16 | export declare function stringify(token: any): string;
|
17 | export declare class Version {
|
18 | full: string;
|
19 | readonly major: string;
|
20 | readonly minor: string;
|
21 | readonly patch: string;
|
22 | constructor(full: string);
|
23 | }
|
24 | export interface Console {
|
25 | log(message: string): void;
|
26 | warn(message: string): void;
|
27 | }
|
28 | declare const _global: {
|
29 | [name: string]: any;
|
30 | };
|
31 | export { _global as global };
|
32 | export declare function newArray<T = any>(size: number): T[];
|
33 | export declare function newArray<T>(size: number, value: T): T[];
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | export declare function partitionArray<T, F = T>(arr: (T | F)[], conditionFn: (value: T | F) => boolean): [T[], F[]];
|