From 62d429c8780aa62e63fd0561ab78e8a9021b9bbe Mon Sep 17 00:00:00 2001 From: Naman Parashar Date: Sun, 8 Sep 2024 07:32:06 +0530 Subject: [PATCH] config: export types and enums --- index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.ts b/index.ts index b179cd7..3cc5767 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,12 @@ import { lexer } from "./lexer"; +import type { Token } from "./configs"; +import { TokenType, MAX_NESTING_DEPTH } from "./configs"; export const generateASTFromMarkdown = (input: string) => { const tokens = lexer(input); return tokens; }; +export type { Token }; +export { TokenType, MAX_NESTING_DEPTH }; +