Skip to content

Commit 5870e59

Browse files
authored
fix: including global typing (#826)
1 parent d0b2f75 commit 5870e59

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

global.d.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/// <reference types="./css" />
2-
/// <reference types="./index" />
3-
/// <reference types="./macro" />
4-
/// <reference types="./style" />
5-
61
import React from 'react'
72

83
declare module 'react' {

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/// <reference types="./css" />
2+
/// <reference types="./macro" />
3+
/// <reference types="./style" />
4+
/// <reference types="./global" />
5+
16
declare module 'styled-jsx' {
27
export type StyledJsxStyleRegistry = {
38
styles(options?: { nonce?: string }): JSX.Element[]

0 commit comments

Comments
 (0)