Skip to content

Commit 64c3f8c

Browse files
Merge pull request #216 from FormidableLabs/task/export-all-types
Export all types from package
2 parents 8fa9333 + 2a6a256 commit 64c3f8c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/fair-spies-itch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prism-react-renderer": patch
3+
---
4+
5+
Export all types from package

packages/prism-react-renderer/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as themes from "./themes"
33
import { createElement } from "react"
44
import { Highlight as InternalHighlight } from "./components/highlight"
55
import { HighlightProps, PrismLib } from "./types"
6+
export * from "./types"
67

78
/**
89
* Prism React Renderer requires this specific instance

0 commit comments

Comments
 (0)