From e91eb9c546c78f67eef44c62c71d9e01798b3640 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Thu, 10 Nov 2022 13:25:22 +0200 Subject: [PATCH] Import type from @rometools/backend-jsonrpc Imports Diagnostic and Configuration as type instead of an object --- npm/js-api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/js-api/src/index.ts b/npm/js-api/src/index.ts index 8d94b21d4df..61fa5f20abe 100644 --- a/npm/js-api/src/index.ts +++ b/npm/js-api/src/index.ts @@ -1,6 +1,6 @@ import { NodeWasm } from "./nodeWasm"; import { Deamon } from "./daemon"; -import { Diagnostic, Configuration } from "@rometools/backend-jsonrpc"; +import type { Diagnostic, Configuration } from "@rometools/backend-jsonrpc"; import { createError } from "./utils"; // Re-export of some useful types for users