UNPKG
@csegames/camelot-unchained
Version:
latest (0.1.2)
0.1.2
Camelot Unchained Client Library
csegames/camelot-unchained-client-library
@csegames/camelot-unchained
/
lib
/
utils
/
injectedProps.d.ts
9 lines
(8 loc)
•
223 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
type
Diff
<T
extends
string
, U
extends
string
> = ({ [P
in
T]: P; } & { [P
in
U]:
never
; } & { [
x
:
string
]:
never
; })[T];
export
declare
type
Omit
<T, K
extends
keyof T> =
Pick
<T,
Diff
<keyof T, K>>;