From 2a6a256772060d309ccae63d664f765ce244840d Mon Sep 17 00:00:00 2001 From: Carlos Kelly Date: Sat, 17 Jun 2023 11:42:21 -0500 Subject: [PATCH] Export all types from package --- .changeset/fair-spies-itch.md | 5 +++++ packages/prism-react-renderer/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/fair-spies-itch.md diff --git a/.changeset/fair-spies-itch.md b/.changeset/fair-spies-itch.md new file mode 100644 index 0000000..af4be3e --- /dev/null +++ b/.changeset/fair-spies-itch.md @@ -0,0 +1,5 @@ +--- +"prism-react-renderer": patch +--- + +Export all types from package diff --git a/packages/prism-react-renderer/src/index.ts b/packages/prism-react-renderer/src/index.ts index b1ef889..6def32a 100644 --- a/packages/prism-react-renderer/src/index.ts +++ b/packages/prism-react-renderer/src/index.ts @@ -3,6 +3,7 @@ import * as themes from "./themes" import { createElement } from "react" import { Highlight as InternalHighlight } from "./components/highlight" import { HighlightProps, PrismLib } from "./types" +export * from "./types" /** * Prism React Renderer requires this specific instance