Skip to content

Commit

Permalink
Remove incorrect tripleslash directives referencing node types (#3219)
Browse files Browse the repository at this point in the history
* Remove incorrect tripleslash references for node types

* Update packages/server/types/create-instance.d.ts

* Create tasty-doors-leave.md

---------

Co-authored-by: Emma Hamilton <[email protected]>
  • Loading branch information
Andarist and emmatown authored Jul 25, 2024
1 parent 70ad1d3 commit c72d279
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-doors-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@emotion/cache": patch
---

Removed incorrect tripleslash directive referencing node types
2 changes: 0 additions & 2 deletions packages/cache/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
// TypeScript Version: 2.2

/// <reference types="node" />

import { EmotionCache } from '@emotion/utils'

export { EmotionCache }
Expand Down
2 changes: 0 additions & 2 deletions packages/css/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/// <reference types="node" />

export * from '..'
2 changes: 0 additions & 2 deletions packages/serialize/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/// <reference types="node" />

export * from '../src'
2 changes: 1 addition & 1 deletion packages/server/types/create-instance.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
// TypeScript Version: 2.8

/// <reference types="node" />
/// <reference types="node" preserve="true" />
import { EmotionCache } from '@emotion/utils'

export interface EmotionCritical {
Expand Down
2 changes: 0 additions & 2 deletions packages/sheet/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TypeScript Version: 2.0

/// <reference types="node" />

export * from '..'
2 changes: 0 additions & 2 deletions packages/utils/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TypeScript Version: 2.2

/// <reference types="node" />

export * from '..'

0 comments on commit c72d279

Please sign in to comment.