415gotit
This commit is contained in:
9
node_modules/@msgpack/msgpack/dist.esm/context.d.ts
generated
vendored
Normal file
9
node_modules/@msgpack/msgpack/dist.esm/context.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
type SplitTypes<T, U> = U extends T ? (Exclude<T, U> extends never ? T : Exclude<T, U>) : T;
|
||||
export type SplitUndefined<T> = SplitTypes<T, undefined>;
|
||||
export type ContextOf<ContextType> = ContextType extends undefined ? object : {
|
||||
/**
|
||||
* Custom user-defined data, read/writable
|
||||
*/
|
||||
context: ContextType;
|
||||
};
|
||||
export {};
|
||||
Reference in New Issue
Block a user