diff options
Diffstat (limited to 'web_src/js/types.ts')
-rw-r--r-- | web_src/js/types.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/js/types.ts b/web_src/js/types.ts index e7c9ac0df4..1b5e652f66 100644 --- a/web_src/js/types.ts +++ b/web_src/js/types.ts @@ -22,6 +22,8 @@ export type Config = { i18n: Record<string, string>, } +export type IntervalId = ReturnType<typeof setInterval>; + export type Intent = 'error' | 'warning' | 'info'; export type RequestData = string | FormData | URLSearchParams | Record<string, any>; @@ -30,6 +32,11 @@ export type RequestOpts = { data?: RequestData, } & RequestInit; +export type RepoOwnerPathInfo = { + ownerName: string, + repoName: string, +} + export type IssuePathInfo = { ownerName: string, repoName: string, |