1 | // Type definitions for babel-plugin-syntax-jsx 6.18
|
2 | // Project: https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-jsx
|
3 | // Definitions by: Marvin Hagemeister <https://github.com/marvinhagemeister>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | // NB: This export doesn't match the handbook example, where `jsx` is the default export.
|
7 | // But it does match the runtime behaviour (at least at the time of this writing). For some reason,
|
8 | // babel-plugin-syntax-jsx/lib/index.js has this line at the bottom: module.exports = exports["default"];
|
9 | declare function jsx(): {
|
10 | manipulateOptions(opts: any, parserOpts: { plugins: string[] }): void;
|
11 | };
|
12 |
|
13 | export default jsx;
|