diff --git a/packages/classes/experimental/transformer-plugin/src/index.ts b/packages/classes/experimental/transformer-plugin/src/index.ts index e6ff71300..600f1ab67 100644 --- a/packages/classes/experimental/transformer-plugin/src/index.ts +++ b/packages/classes/experimental/transformer-plugin/src/index.ts @@ -10,7 +10,7 @@ const defaultOptions: AutomapperTransformerPluginOptions = { export default function automapperTransformerPlugin( program: tss.Program, - options: AutomapperTransformerPluginOptions + options: AutomapperTransformerPluginOptions = {} ) { options = { ...defaultOptions, ...options }; return {