From 4eeb298f3c299764773881a68e50a6e4cde6d445 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 9 Apr 2020 11:04:07 +0200 Subject: [PATCH] fix --- index.d.ts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/index.d.ts b/index.d.ts index 7dc3da4..4a2ef13 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,12 +1,10 @@ declare module '@scode/consts' { - export = { - http: { - status_ok: number, - status_ok_no_content: number, - status_bad_request: number, - status_unauthorized: number, - status_forbidden: number, - status_not_found: number - } + export namespace http { + export const status_ok: number, + export const status_ok_no_content: number, + export const status_bad_request: number, + export const status_unauthorized: number, + export const status_forbidden: number, + export const status_not_found: number } }