From 9148671513cacf48ea3d98757607994f2a3dec96 Mon Sep 17 00:00:00 2001 From: Marco Link Date: Wed, 26 Apr 2023 08:03:04 +0200 Subject: [PATCH] fix: top level export for v10 typeguard (#250) --- src/cli.ts | 2 +- src/renderer/type/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index d379d0c..118a652 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -7,11 +7,11 @@ import { ContentTypeRenderer, DefaultContentTypeRenderer, V10ContentTypeRenderer, + V10TypeGuardRenderer, JsDocRenderer, LocalizedContentTypeRenderer, TypeGuardRenderer, } from './renderer'; -import { V10TypeGuardRenderer } from './renderer/type/v10-type-guard-renderer'; // eslint-disable-next-line unicorn/prefer-module const contentfulExport = require('contentful-export'); diff --git a/src/renderer/type/index.ts b/src/renderer/type/index.ts index 27eeb4e..77c4c85 100644 --- a/src/renderer/type/index.ts +++ b/src/renderer/type/index.ts @@ -2,6 +2,7 @@ export { BaseContentTypeRenderer } from './base-content-type-renderer'; export { ContentTypeRenderer } from './content-type-renderer'; export { DefaultContentTypeRenderer } from './default-content-type-renderer'; export { V10ContentTypeRenderer } from './v10-content-type-renderer'; +export { V10TypeGuardRenderer } from './v10-type-guard-renderer'; export { LocalizedContentTypeRenderer } from './localized-content-type-renderer'; export { JsDocRenderer } from './js-doc-renderer'; export { TypeGuardRenderer } from './type-guard-renderer';