Skip to content

Commit

Permalink
fix(experimental/transformer-plugin): fix options
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Feb 19, 2021
1 parent 0dee649 commit bac5074
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const defaultOptions: AutomapperTransformerPluginOptions = {

export default function automapperTransformerPlugin(
program: tss.Program,
options: AutomapperTransformerPluginOptions
options: AutomapperTransformerPluginOptions = {}
) {
options = { ...defaultOptions, ...options };
return {
Expand Down

0 comments on commit bac5074

Please sign in to comment.