ahrefs / atd

Static types for JSON APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[typescript] tsc throwing unused parameter error on build

koonwen opened this issue · comments

Previously addressed by issue. The fix only added comments to disable linting checks. If tsconfig.json has set "noUnusedParameters" : true, the compiler will throw the unused parameter error.

A quick & dirty fix is to drop in the // ts-nocheck comment at the top of the file which will disable all compiler checks for the entire file. (read)

I like the quick and dirty solution. I'm marking the issue as "good first time issue" if anyone wants to take it.