-
-
Notifications
You must be signed in to change notification settings - Fork 257
Expand file tree
/
Copy pathUtil.resi
More file actions
26 lines (22 loc) · 635 Bytes
/
Util.resi
File metadata and controls
26 lines (22 loc) · 635 Bytes
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
module Url: {
let isAbsolute: string => bool
let getRootPath: string => string
let createRelativePath: (string, string) => string
let normalizeUrl: string => string
}
module Unsafe: {
let elementAsString: React.element => string
}
module String: {
let camelCase: string => string
let kebabCase: string => string
let capitalize: string => string
let capitalizeSentence: string => string
let leadingSlash: string => string
let trailingSlash: string => string
let removeTrailingSlash: string => string
}
module Date: {
let toDayMonthYear: Date.t => string
}
let debounce: (unit => unit, int) => unit => unit