Skip to content

Commit

Permalink
chore: deprecate process.browser
Browse files Browse the repository at this point in the history
  • Loading branch information
PepijnSenders committed Dec 27, 2021
1 parent a989469 commit 204195a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/next/types/global.d.ts
Expand Up @@ -3,6 +3,9 @@
// Extend the NodeJS namespace with Next.js-defined properties
declare namespace NodeJS {
interface Process {
/**
* @deprecated Use `typeof window` instead
*/
readonly browser: boolean
}

Expand Down

0 comments on commit 204195a

Please sign in to comment.