UNPKG
@csegames/camelot-unchained
Version:
latest (0.1.2)
0.1.2
Camelot Unchained Client Library
csegames/camelot-unchained-client-library
@csegames/camelot-unchained
/
src
/
utils
/
injectedProps.ts
3 lines
(2 loc)
•
192 B
text/typescript
View Raw
1
2
3
export
type
Diff
<T
extends
string
, U
extends
string
> = ({ [P
in
T]: P } & { [P
in
U]:
never
} & { [
x
:
string
]:
never
})[T];
export
type
Omit
<T, K
extends
keyof T> =
Pick
<T,
Diff
<keyof T, K>>;