Skip to content

Commit

Permalink
Correct interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Sep 3, 2021
1 parent 91ef901 commit b1f3de6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Expand Up @@ -9,14 +9,14 @@ declare interface NavigatorUA {
}

// https://wicg.github.io/ua-client-hints/#dictdef-navigatoruabrandversion
interface NavigatorUADataBrandVersion {
interface NavigatorUABrandVersion {
readonly brand: string;
readonly version: string;
}

// https://wicg.github.io/ua-client-hints/#dictdef-uadatavalues
interface UADataValues {
readonly brands?: NavigatorUADataBrandVersion[];
readonly brands?: NavigatorUABrandVersion[];
readonly mobile?: boolean;
readonly platform?: string;
readonly architecture?: string;
Expand All @@ -28,7 +28,7 @@ interface UADataValues {

// https://wicg.github.io/ua-client-hints/#dictdef-ualowentropyjson
interface UALowEntropyJSON {
readonly brands: NavigatorUADataBrandVersion[];
readonly brands: NavigatorUABrandVersion[];
readonly mobile: boolean;
readonly platform: string;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "user-agent-data-types",
"version": "0.1.0",
"version": "0.2.0",
"description": "Type definition for navigator.userAgentData",
"keywords": [
"user-agent",
Expand Down

0 comments on commit b1f3de6

Please sign in to comment.