Skip to content

Commit 0254816

Browse files
authored
fix: Use scoped JSX namespace (#846)
1 parent 18ddefd commit 0254816

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

css.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { JSX } from "react";
12
// Definitions by: @types/styled-jsx <https://www.npmjs.com/package/@types/styled-jsx>
23

34
declare module 'styled-jsx/css' {

index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { JSX } from "react";
12
/// <reference types="./css" />
23
/// <reference types="./macro" />
34
/// <reference types="./style" />

macro.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { JSX } from "react";
12
declare module 'styled-jsx/macro' {
23
namespace macro {
34
function resolve(

0 commit comments

Comments
 (0)