From f79f5b3d2f4c56c87b3580edde5e46badba8d274 Mon Sep 17 00:00:00 2001 From: Taku Fukada Date: Fri, 25 Jan 2019 07:48:36 +0900 Subject: [PATCH] fix: type annotation for script tag (#305) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 8c7920d8..255fccac 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -39,7 +39,7 @@ export interface MetaInfo { link?: { rel: string, href: string, [key: string]: any }[] style?: { cssText: string, type: string, [key: string]: any }[] - script?: { innerHTML: string, type: string, [key: string]: any }[] + script?: { innerHTML?: string, src?: string, type: string, [key: string]: any }[] noscript?: { innerHTML: string, [key: string]: any }[] __dangerouslyDisableSanitizers?: string[]