Using Typescript 4.1.2 is it possible to compile code that references the functions one calls when the --allow-natives-syntax
flag in v8 is set?
For example:
function foo(bar: ()=>void)): void {
%OptimizeFunctionOnNextCall(bar); // --> TS1109; Expression expected
}
Neither //@ts-ignore
nor //@ts-expect-error
silence this error