We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tokTypes
1 parent df3a5f7 commit 4d9f8b4Copy full SHA for 4d9f8b4
index.d.ts
@@ -63,4 +63,14 @@ export interface AcornJsxParser extends acorn.Parser {
63
jsx_parseElement(): acorn.Node;
64
}
65
66
-export default function jsx(options?: Options): (BaseParser: typeof acorn.Parser) => AcornJsxParserCtor;
+export interface JsxFunctionProperties {
67
+ tokTypes: JsxTokTypes;
68
+}
69
+
70
+export type JsxFunctionSignature = (options?: Options) => (BaseParser: typeof acorn.Parser) => AcornJsxParserCtor
71
72
+export type JsxFunction = JsxFunctionSignature & JsxFunctionProperties;
73
74
+declare const jsx: JsxFunction;
75
76
+export default jsx;
0 commit comments