Skip to content

Commit b9a04b9

Browse files
committed
Preserve triple slash directives
1 parent 1f4b174 commit b9a04b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/next/types.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
// Duplicate of src/types.ts.
2+
// TypeScript currently does not preserve the tripple-slash directives.
3+
// Once https://github.com/microsoft/TypeScript/pull/57681 is released, we can remove the triple slash directives here.
4+
/// <reference types="react" />
5+
/// <reference types="react/experimental" />
6+
/// <reference types="react-dom" />
7+
/// <reference types="react-dom/experimental" />
18
export * from './dist/types'

0 commit comments

Comments
 (0)