8 lines
107 B
TypeScript
8 lines
107 B
TypeScript
/**
|
|
* Result<Error,Data>
|
|
*/
|
|
export type Result<E, D> = {
|
|
error: E | undefined,
|
|
data: D | undefined
|
|
}
|