From a3719f8eef7bfbc3370e621d056fd9eecd81ef2d Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Mon, 8 Feb 2021 00:04:03 +0100 Subject: [PATCH] Improved exporting of types in index --- src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7df70e5..55dfbb3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,5 @@ -import { Pass as PassClass } from "./pass"; -import { AbstractModel as AbstractModelClass } from "./abstract"; +export type { Pass } from "./pass"; +export type { AbstractModel } from "./abstract"; export { createPass } from "./factory"; export { createAbstractModel } from "./abstract"; -export type Pass = InstanceType; -export type AbstractModel = InstanceType;