From 78c806159a2ab795e96d7c06350e4012485f255a Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 4 Aug 2021 16:10:20 +0200 Subject: Added an error API type --- packages/api/src/error.d.ts | 3 +++ packages/api/src/index.d.ts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/api/src/error.d.ts (limited to 'packages/api/src') 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 -- cgit v1.2.3-18-g5258