FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uniswap_interface_sc/index.d.ts at bugfix/missing_folder · stringcode86/uniswap_interface_sc · GitHub
stringcode86
/
uniswap_interface_sc
Public
forked from
Uniswap/interface
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
uniswap_interface_sc
/
index.d.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (21 loc) · 994 Bytes
Breadcrumbs
uniswap_interface_sc
/
index.d.ts
Copy path
File metadata and controls
28 lines (21 loc) · 994 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
declare
type
Address
=
string
declare
type
AddressTo
<
T
>
=
Record
<
Address
,
T
>
declare
type
Nullable
<
T
>
=
T
|
null
declare
type
Maybe
<
T
>
=
Nullable
<
T
>
|
undefined
declare
type
Primitive
=
number
|
string
|
boolean
|
bigint
|
symbol
|
null
|
undefined
declare
type
ValuesOf
<
T
extends
readonly
unknown
[
]
>
=
T
[
number
]
declare
type
ArrayOfLength
<
L
extends
number
,
T
,
Acc
extends
T
[
]
=
[
]
>
=
Acc
[
'length'
]
extends
L
?
Acc
extends
[
]
?
L
extends
0
?
[
]
:
T
[
]
:
Acc
:
ArrayOfLength
<
L
,
T
,
[
...
Acc
,
T
]
>
declare
type
Require
<
T
,
K
extends
keyof
T
>
=
T
&
Required
<
Pick
<
T
,
K
>
>
declare
type
RequireNonNullable
<
T
,
K
extends
keyof
T
>
=
T
&
{
[
P
in
K
]
-?:
NonNullable
<
T
[
P
]
>
}
// Utility type to create a range of numbers (inclusive of start but exclusive of end -- python style)
declare
type
NumberRange
<
Start
extends
number
,
End
extends
number
,
Acc
extends
number
[
]
=
[
]
>
=
Acc
[
'length'
]
extends
End
?
Acc
[
number
]
:
NumberRange
<
Start
,
End
,
[
...
Acc
,
Acc
[
'length'
]
&
number
]
>
Back
|
FazBrowse Home
|
New Git URL