Skip to content

Commit

Permalink
docs(spec): add module description
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed Jul 7, 2023
1 parent d969bd9 commit 9de7eca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ export interface Ok<T> extends Container {
get get(): T;
}

/** {@linkcode Ok} constructor. */
export interface OkConstructor {
/** {@linkcode Ok} value of type {@linkcode T} . */
<const T>(value: T): Ok<T>;
}

/** {@linkcode Err} constructor. */
export interface ErrConstructor {
/** {@linkcode Err} value of type {@linkcode E} . */
<const E>(value: E): Err<E>;
Expand Down

0 comments on commit 9de7eca

Please sign in to comment.