From 522c272be1e0fddbec23ffdb00c32d8506eef743 Mon Sep 17 00:00:00 2001 From: "Dominik.Sigmund" <dominik.sigmund@br.de> Date: Wed, 28 Jun 2023 10:55:51 +0200 Subject: [PATCH] Added typescript support --- index.d.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index 838bd25..b8320ea 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,7 @@ -declare module 'security' { - const noTypesYet: any; - export default noTypesYet; -} \ No newline at end of file +export as namespace Security; + +export = Security; + +declare class Security { + constructor(); +} -- GitLab