@@ -33,7 +33,7 @@ describe("transform scoped-jsx", () => {
3333 declare const element: JSX.Element;
3434 ` ) ,
3535 ) . toMatchInlineSnapshot ( `
36- "import { type JSX } from "react";
36+ "import type { JSX } from "react";
3737 declare const element: JSX.Element;"
3838 ` ) ;
3939 } ) ;
@@ -58,7 +58,7 @@ describe("transform scoped-jsx", () => {
5858 ` ) ,
5959 ) . toMatchInlineSnapshot ( `
6060 "import type React from 'react';
61- import { type JSX } from "react";
61+ import type { JSX } from "react";
6262 declare const element: JSX.Element;"
6363 ` ) ;
6464 } ) ;
@@ -71,7 +71,7 @@ describe("transform scoped-jsx", () => {
7171 ` ) ,
7272 ) . toMatchInlineSnapshot ( `
7373 "import * as React from 'react';
74- import { type JSX } from "react";
74+ import type { JSX } from "react";
7575 declare const element: JSX.Element;"
7676 ` ) ;
7777 } ) ;
@@ -84,7 +84,7 @@ describe("transform scoped-jsx", () => {
8484 ` ) ,
8585 ) . toMatchInlineSnapshot ( `
8686 "import type * as React from 'react';
87- import { type JSX } from "react";
87+ import type { JSX } from "react";
8888 declare const element: JSX.Element;"
8989 ` ) ;
9090 } ) ;
@@ -136,7 +136,7 @@ describe("transform scoped-jsx", () => {
136136 declare const element: JSX.Element;
137137 ` ) ,
138138 ) . toMatchInlineSnapshot ( `
139- "import { type JSX } from "react";
139+ "import type { JSX } from "react";
140140 const React = require('react');
141141 declare const element: JSX.Element;"
142142 ` ) ;
@@ -154,7 +154,7 @@ describe("transform scoped-jsx", () => {
154154 "import {} from 'react-dom'
155155 import {} from '@testing-library/react'
156156
157- import { type JSX } from "react";
157+ import type { JSX } from "react";
158158
159159 declare const element: JSX.Element;"
160160 ` ) ;
@@ -170,7 +170,7 @@ describe("transform scoped-jsx", () => {
170170 ) . toMatchInlineSnapshot ( `
171171 "import * as React from 'react'
172172
173- import { type JSX } from "react";
173+ import type { JSX } from "react";
174174
175175 declare const attributes: JSX.LibraryManagedAttributes<A, B>;"
176176 ` ) ;
0 commit comments