When noUncheckedIndexedAccess is enabled, arbitrary values like tw.after(tw.content_["'Hi'"]) throw the following error: Argument of type 'Property | undefined' is not assignable to parameter of type 'Property'..
This is expected, and should be fixable by non-null assertion operator: tw.after(tw.content_["'Hi'"]!).
However, in this case, I get a compilation error (from postcss-loader):
let result$$ = tw.after(tw.content_["'Hi'"]!);
^
SyntaxError: missing ) after argument list
Am I missing something?
When
noUncheckedIndexedAccessis enabled, arbitrary values liketw.after(tw.content_["'Hi'"])throw the following error:Argument of type 'Property | undefined' is not assignable to parameter of type 'Property'..This is expected, and should be fixable by non-null assertion operator:
tw.after(tw.content_["'Hi'"]!).However, in this case, I get a compilation error (from postcss-loader):
Am I missing something?