Skip to content

Commit

Permalink
feat(engin5): Add MaybePromise type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 25, 2023
1 parent 79b2ec7 commit 55b49ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/engine5/src/type.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export type MaybePromise<T> = T | Promise<T>;

export interface AlwatrStoreConfig {
/**
* The root path of the storage.
Expand Down

0 comments on commit 55b49ca

Please sign in to comment.