Created
September 10, 2018 19:32
-
-
Save jonbcampos/3e1d32bbe019b68b706290c88b258835 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DON'T DO THIS | |
options.skipVo ? noop() : schematic("vo", { | |
project: options.project, | |
path: options.path, | |
name: options.vo, | |
spec: options.spec, | |
obj: options.obj | |
}), | |
// DO THIS | |
const voOptions: VoOptions = { | |
project: options.project, | |
path: options.path, | |
name: options.vo, | |
spec: options.spec, | |
obj: options.obj | |
}; | |
... | |
options.skipVo ? noop() : schematic("vo", voOptions), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment