From f5b55c35aed8f132f78ca62bf3683d7b599f5b2b Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 27 Mar 2019 19:47:04 +0100 Subject: [PATCH] Make all properties in TreeshakingOptions optional This is what the docs are telling me the types should be --- src/rollup/types.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rollup/types.d.ts b/src/rollup/types.d.ts index 2e64f739804..9fec100e5fc 100644 --- a/src/rollup/types.d.ts +++ b/src/rollup/types.d.ts @@ -254,9 +254,9 @@ export interface Plugin { } export interface TreeshakingOptions { - annotations: boolean; - propertyReadSideEffects: boolean; - pureExternalModules: boolean; + annotations?: boolean; + propertyReadSideEffects?: boolean; + pureExternalModules?: boolean; } export type ExternalOption = string[] | IsExternal;