When trying ViewChild I am getting the error. Error is \"An argument for \'opts\' was not provided.\"
Both @ViewChild is giving the error.
Regex for replacing all via IDEA (tested with Webstorm)
Find: \@ViewChild\('(.*)'\)
\@ViewChild\('(.*)'\)
Replace: \@ViewChild\('$1', \{static: true\}\)
\@ViewChild\('$1', \{static: true\}\)