diff --git a/.changeset/thin-dots-agree.md b/.changeset/thin-dots-agree.md new file mode 100644 index 0000000..f96096f --- /dev/null +++ b/.changeset/thin-dots-agree.md @@ -0,0 +1,5 @@ +--- +"@marko/tags-api-preview": patch +--- + +Fix "Unused '@ts-expect-error' directive" compilation error when noUnusedParameters is false diff --git a/src/components/get/index.d.marko b/src/components/get/index.d.marko index 9baee2c..29e7db3 100644 --- a/src/components/get/index.d.marko +++ b/src/components/get/index.d.marko @@ -1,4 +1,4 @@ -// @ts-expect-error 'VariableType' is declared but its value is never read. (It is only used to set the type of the return) +// @ts-ignore We need to ignore instead of -expect-error because the error only happens when noUnusedParameters compiler option is true export interface Input { value: string; }