Eslint Not Recognizing Template Literal
const perunString = perun.times(100).toFixed(2).toString(); return `%{perunString} %`; Which gives two errors 'perunString' is defined but never used Strings must use single quot
Solution 1:
You have an error in your template interpolation syntax that is probably causing both errors:
// Before`%{perunString} %`// After`${perunString} %`
Note the change from %{
to ${
.
Post a Comment for "Eslint Not Recognizing Template Literal"