Skip to content

Commit

Permalink
Preserve triple slash directives
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 16, 2024
1 parent f01b514 commit 0b8cec8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/next/types.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
// Duplicate of src/types.ts.
// TypeScript currently does not preserve the tripple-slash directives.
// Once https://github.com/microsoft/TypeScript/pull/57681 is released, we can remove the triple slash directives here.
/// <reference types="react" />
/// <reference types="react/experimental" />
/// <reference types="react-dom" />
/// <reference types="react-dom/experimental" />
export * from './dist/types'

0 comments on commit 0b8cec8

Please sign in to comment.