421 BTypeScriptView Raw
1// NB: This export doesn't match the handbook example, where `jsx` is the default export.
2// But it does match the runtime behaviour (at least at the time of this writing). For some reason,
3// babel-plugin-syntax-jsx/lib/index.js has this line at the bottom: module.exports = exports["default"];
4declare function jsx(): {
5 manipulateOptions(opts: any, parserOpts: { plugins: string[] }): void;
8export default jsx;