Skip to content

Commit

Permalink
Merge pull request #21 from joshuajaco/fix-types
Browse files Browse the repository at this point in the history
Convert declaration files to source files
  • Loading branch information
jamland authored Feb 16, 2022
2 parents 53c62cd + 01b30aa commit 4583443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export type StringPublicKey = string;

interface PromiseFulfilledResult<T> {
export interface PromiseFulfilledResult<T> {
status: "fulfilled";
value: T;
}

interface PromiseRejectedResult {
export interface PromiseRejectedResult {
status: "rejected";
reason: any;
}

type PromiseSettledResult<T> =
export type PromiseSettledResult<T> =
| PromiseFulfilledResult<T>
| PromiseRejectedResult;

0 comments on commit 4583443

Please sign in to comment.