Skip to content

Commit

Permalink
fix(types): fix name and platform types (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSemenov committed Nov 3, 2023
1 parent 204df54 commit 2adf558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export type KnownBrowsersKeys = keyof typeof KnownBrowsers;
export type KnownPlatformsKeys = keyof typeof KnownPlatforms;

export interface BrowserInfo {
name: ValueOf<KnownBrowsersKeys> | null;
platform: ValueOf<KnownPlatformsKeys> | null;
name: ValueOf<typeof KnownBrowsers> | null;
platform: ValueOf<typeof KnownPlatforms> | null;
userAgent: string;
version: string | null;
shortVersion: string | null;
Expand Down

0 comments on commit 2adf558

Please sign in to comment.