aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-04 16:10:20 +0200
committerHampusM <hampus@hampusmat.com>2021-08-04 16:10:20 +0200
commit78c806159a2ab795e96d7c06350e4012485f255a (patch)
treeb044db88a082cf05bb2f3dc0adfd7fe3b8f0ac1b /packages
parentfed6dbb3d89ec007392d6697793dd3cb67a948ec (diff)
Added an error API type
Diffstat (limited to 'packages')
-rw-r--r--packages/api/src/error.d.ts3
-rw-r--r--packages/api/src/index.d.ts3
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