From 373e6b40144e9d51ec064cb50deb315a50f24868 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Mon, 29 Mar 2021 21:58:40 +0200 Subject: [PATCH] fix: use type imports --- src/api.ts | 2 +- src/lib.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api.ts b/src/api.ts index c67a35f..f42480a 100644 --- a/src/api.ts +++ b/src/api.ts @@ -1,4 +1,4 @@ -import * as HID from 'node-hid' +import type * as HID from 'node-hid' /* * This file contains public type interfaces. diff --git a/src/lib.ts b/src/lib.ts index 498ca6f..9e3e3a7 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -1,4 +1,4 @@ -import * as HID from 'node-hid' +import type * as HID from 'node-hid' /* * This file contains internal convenience functions */