From 101621be0e328e9e4c875aac214786300763f4e1 Mon Sep 17 00:00:00 2001 From: Hatton Date: Wed, 25 Jan 2023 13:27:27 -0700 Subject: [PATCH] fix: type expots --- docu-notion.config.ts | 4 +--- src/index.ts | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docu-notion.config.ts b/docu-notion.config.ts index 0211c29..8787fb7 100644 --- a/docu-notion.config.ts +++ b/docu-notion.config.ts @@ -3,9 +3,7 @@ using these example plugins. */ -import { IDocuNotionConfig } from "./dist/config/configuration"; -import { IPlugin, Log } from "./dist"; -import { NotionBlock } from "./dist/types"; +import { IPlugin, IDocuNotionConfig, Log, NotionBlock } from "./dist"; const dummyBlockModifier: IPlugin = { name: "dummyBlockModifier", diff --git a/src/index.ts b/src/index.ts index ba1779e..87e3c8e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,4 +8,7 @@ run(); export * as Log from "./log"; export * from "./types"; +export * from "./config/configuration"; export * from "./plugins/pluginTypes"; +import type { IDocuNotionConfig } from "./config/configuration"; +export type { IDocuNotionConfig };