summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.window.d.ts
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-10-18 15:33:35 +0200
committerGitHub <noreply@github.com>2022-10-18 15:33:35 +0200
commit1a0c7edebacc76a70e57dfd494e24420fa77b56b (patch)
treeafa26f8db4dd121f548e19f92f84c1da589708c4 /cli/dts/lib.deno.window.d.ts
parent23bb0abc230bd796e60bb8e22ccc39aef5629158 (diff)
feat: introduce navigator.language (#12322)
Link to the spec: https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-language-dev Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/dts/lib.deno.window.d.ts')
-rw-r--r--cli/dts/lib.deno.window.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.window.d.ts b/cli/dts/lib.deno.window.d.ts
index 77204fcbd..4ce288a4d 100644
--- a/cli/dts/lib.deno.window.d.ts
+++ b/cli/dts/lib.deno.window.d.ts
@@ -97,6 +97,8 @@ declare class Navigator {
readonly gpu: GPU;
readonly hardwareConcurrency: number;
readonly userAgent: string;
+ readonly language: string;
+ readonly languages: string[];
}
/** @category Web APIs */