Skip to content

Commit

Permalink
fix: resolve TypeScript build error in projects using `--isolatedModu…
Browse files Browse the repository at this point in the history
…les`
  • Loading branch information
alexandrutasica authored Sep 18, 2023
1 parent 5acc304 commit c3628d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PrismicLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {

import { usePrismicContext } from "./usePrismicContext";

export { LinkProps, PrismicLinkProps };
export type { LinkProps, PrismicLinkProps };

export const PrismicLink = React.forwardRef(function PrismicLink<
InternalComponentProps = React.ComponentProps<typeof defaultComponent>,
Expand Down
2 changes: 1 addition & 1 deletion src/PrismicRichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

import { usePrismicContext } from "./usePrismicContext";

export { PrismicRichTextProps };
export type { PrismicRichTextProps };

export const PrismicRichText = function PrismicRichText<
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit c3628d5

Please sign in to comment.