forked from babel/babel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4248019
commit a8ae5d7
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
packages/babel-plugin-transform-react-jsx-development/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
/* eslint-disable @babel/development/plugin-name */ | ||
|
||
export { default } from "@babel/plugin-transform-react-jsx/lib/development"; | ||
import plugin from "@babel/plugin-transform-react-jsx/lib/development"; | ||
// We need to explicitly annotate this export because | ||
// @babel/plugin-transform-react-jsx/lib/development has no type definitions | ||
// (it's not a public entry point) | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion | ||
export default plugin as typeof import("@babel/plugin-transform-react-jsx").default; |