Skip to content

Commit

Permalink
fix: Use scoped JSX namespace (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 24, 2024
1 parent 18ddefd commit 0254816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions css.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { JSX } from "react";
// Definitions by: @types/styled-jsx <https://www.npmjs.com/package/@types/styled-jsx>

declare module 'styled-jsx/css' {
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { JSX } from "react";
/// <reference types="./css" />
/// <reference types="./macro" />
/// <reference types="./style" />
Expand Down
1 change: 1 addition & 0 deletions macro.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { JSX } from "react";
declare module 'styled-jsx/macro' {
namespace macro {
function resolve(
Expand Down

0 comments on commit 0254816

Please sign in to comment.