diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-04 16:10:20 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-04 16:10:20 +0200 |
commit | 78c806159a2ab795e96d7c06350e4012485f255a (patch) | |
tree | b044db88a082cf05bb2f3dc0adfd7fe3b8f0ac1b | |
parent | fed6dbb3d89ec007392d6697793dd3cb67a948ec (diff) |
Added an error API type
-rw-r--r-- | packages/api/src/error.d.ts | 3 | ||||
-rw-r--r-- | packages/api/src/index.d.ts | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/api/src/error.d.ts b/packages/api/src/error.d.ts new file mode 100644 index 0000000..eb83e62 --- /dev/null +++ b/packages/api/src/error.d.ts @@ -0,0 +1,3 @@ +export type Error = { + error: string +}
\ No newline at end of file diff --git a/packages/api/src/index.d.ts b/packages/api/src/index.d.ts index eeb31ad..555185d 100644 --- a/packages/api/src/index.d.ts +++ b/packages/api/src/index.d.ts @@ -9,4 +9,5 @@ export { Repository, RepositorySummary } from "./repository"; export { Branch, BranchSummary } from "./branch"; export { Author } from "./misc"; export { Tag } from "./tag"; -export { Info } from "./info";
\ No newline at end of file +export { Info } from "./info"; +export { Error } from "./error";
\ No newline at end of file |