Skip to content

Commit

Permalink
fix(next): add missing browser.major type (#65185)
Browse files Browse the repository at this point in the history
Adding the missing `major` type, see
https://docs.uaparser.js.org/v2/api/ua-parser-js/get-browser.html#major-string

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
Gomah and ijjk authored Apr 30, 2024
1 parent ecbf537 commit cf0414d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/server/web/spec-extension/user-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ interface UserAgent {
browser: {
name?: string
version?: string
major?: string
}
device: {
model?: string
Expand Down

0 comments on commit cf0414d

Please sign in to comment.