index.d.ts 262 B

123456789101112
  1. import { Parser } from 'acorn'
  2. declare const jsx: (options?: jsx.Options) => (BaseParser: typeof Parser) => typeof Parser;
  3. declare namespace jsx {
  4. interface Options {
  5. allowNamespacedObjects?: boolean;
  6. allowNamespaces?: boolean;
  7. }
  8. }
  9. export = jsx;