-
Notifications
You must be signed in to change notification settings - Fork 23
/
case.d.ts
43 lines (27 loc) · 1.26 KB
/
case.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
declare module 'case' {
namespace Case {
function upper(str: string, fill: string, noApostrophes: boolean) : string;
function upper(str: string, fill: string) : string;
function upper(str: string) : string;
function lower(str: string, fill: string, noApostrophes: boolean) : string;
function lower(str: string, fill: string) : string;
function lower(str: string) : string;
function capital(str: string, fill: string, noApostrophes: boolean) : string;
function capital(str: string, fill: string) : string;
function capital(str: string) : string;
function snake(str: string) : string;
function pascal(str: string) : string;
function camel(str: string) : string;
function kebab(str: string) : string;
function header(str: string) : string;
function constant(str: string) : string;
function title(str: string) : string;
function sentence(str: string, names?: Array<string> | null, abbreviations?: Array<string>) : string;
function of(str: string) : string;
function of(str: string, names: Array<string>) : string;
function flip(str: string) : string
function random(str: string) : string;
function type(type: string, converter: (str: string) => string) : string;
}
export = Case;
}