When using transforms, is it correct to `return un...
# typescript
b
When using transforms, is it correct to
return undefined
when not matching the transform condition?? would this clear up the custom resource options for example?
l
The docs suggest that you should return undefined if the resource is not to be transformed, though tbh I normally return args
Copy code
transforms: [
  args => {
    if (blah) {
      // make changes to args.props and args.opts
    }
    return args
  }
]
b
thanks! I will try with both