Custom attributes like repo
on Next/Script for using Utterances gives TypeScript error
#26236
Labels
bug
Issue was opened via the bug report template.
What version of Next.js are you using?
11.0.0
What version of Node.js are you using?
16.1.0
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
next start
Describe the Bug
I am using Utterances → https://utteranc.es/ to display comments on my blog & thought of using the new
Script
tag as follows:I plan to include this
Comments
component under my blog post but it gives red-squiggly lines onrepo
.Idk how to use
Script
tag but the above code seems okay.The TS error I get in VSCode is:
How do I get it working?
Expected Behavior
It should work.
To Reproduce
Just try pasting the above code in a Next.js app :)
The text was updated successfully, but these errors were encountered: