Constnium/node_modules/acorn-jsx/index.d.ts
2022-06-23 02:27:43 +02:00

12 lines
262 B
TypeScript

import { Parser } from 'acorn'
declare const jsx: (options?: jsx.Options) => (BaseParser: typeof Parser) => typeof Parser;
declare namespace jsx {
interface Options {
allowNamespacedObjects?: boolean;
allowNamespaces?: boolean;
}
}
export = jsx;