From 7c8977a052f17395fbfb071cc5709b60af959900 Mon Sep 17 00:00:00 2001 From: Mat Jordan Date: Fri, 12 Apr 2024 11:56:46 -0400 Subject: [PATCH] Update type declarations. --- src/types/use-markdown.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/use-markdown.ts b/src/types/use-markdown.ts index e34ae7b..0aa84e9 100644 --- a/src/types/use-markdown.ts +++ b/src/types/use-markdown.ts @@ -4,3 +4,7 @@ export interface UseMarkdownReturn { html: string; jsx: JSX.Element; } + +declare const useMarkdown: (markdown: UseMarkdownParams) => UseMarkdownReturn; + +export default useMarkdown;