From be865ab53d4466579bf0d3db907b038fe0d4544c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Saltvik?= Date: Tue, 14 Dec 2021 15:37:31 +0100 Subject: [PATCH] fix: add throwOnMissing to type declarations --- index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.d.ts b/index.d.ts index 509a0ea0..4ca9cd93 100644 --- a/index.d.ts +++ b/index.d.ts @@ -36,6 +36,10 @@ declare namespace browserslist { * Do not throw on unknown version in direct query. */ ignoreUnknownVersions?: boolean + /** + * Throw a error if env is not found. + */ + throwOnMissing?: boolean /** * Disable security checks for extend query. */