From 47608e97b61f34794f6baeb9e8663aa4aabf1a98 Mon Sep 17 00:00:00 2001 From: teabolt Date: Tue, 10 Aug 2021 15:48:36 +0100 Subject: [PATCH] Make nonce optional Making nonce required will break backwards compatibility --- typings/fetch-script.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/fetch-script.d.ts b/typings/fetch-script.d.ts index c6084ac..e14619f 100644 --- a/typings/fetch-script.d.ts +++ b/typings/fetch-script.d.ts @@ -1,6 +1,6 @@ declare module 'fetch-script' { interface Script { - nonce: string; + nonce?: string; options: RequestInit; url: string; }