Skip to content

Commit def9edd

Browse files
committed
fix: return AcornJsxParser from constructor
1 parent 8526524 commit def9edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import acorn from 'acorn';
22

3-
export const jsx: (options?: jsx.Options) => (BaseParser: typeof acorn.Parser) => typeof acorn.Parser;
3+
export const jsx: (options?: jsx.Options) => (BaseParser: typeof acorn.Parser) => typeof AcornJsxParser
44

55
export interface Options {
66
allowNamespacedObjects?: boolean;

0 commit comments

Comments
 (0)