Skip to content

Commit

Permalink
chore: update how react/next & react-dom/next types are referenced
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Jun 26, 2021
1 parent aed97d4 commit aa56e3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/@types/react-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/// <reference types="react/next" />
/// <reference types="react-dom/next" />
3 changes: 1 addition & 2 deletions app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"noEmit": true,
"isolatedModules": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"types": ["react/next", "react-dom/next"]
"noFallthroughCasesInSwitch": true
}
}

0 comments on commit aa56e3e

Please sign in to comment.