mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
326 B
TypeScript
11 lines
326 B
TypeScript
import jsx from "babel-plugin-syntax-jsx";
|
|
|
|
// Example taken from the babel plugin handbook:
|
|
// https://github.com/thejameskyle/babel-handbook/blob/master/translations/en/plugin-handbook.md#-enabling-syntax-in-plugins
|
|
export default function myBabelPlugin() {
|
|
return {
|
|
visitor: {},
|
|
inherits: jsx,
|
|
};
|
|
}
|