From 1a0c7edebacc76a70e57dfd494e24420fa77b56b Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Tue, 18 Oct 2022 15:33:35 +0200 Subject: feat: introduce navigator.language (#12322) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link to the spec: https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-language-dev Co-authored-by: Bartek IwaƄczuk --- cli/dts/lib.deno.window.d.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/dts/lib.deno.window.d.ts') 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 */ -- cgit v1.2.3