-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
TS2345: Argument of type '{ script: boolean; }' is not assignable to parameter of type '{ lowerCaseTagName?: boolean; noFix?: boolean; }'.
Object literal may only specify known properties, and 'script' does not exist in type '{ lowerCaseTagName?: boolean; noFix?: boolean; }'
The function is declared like
export function parse(data: string, options?: {
lowerCaseTagName?: boolean;
noFix?: boolean;
}) {
So the params of the func are not declared, and not pass TS validation.
Metadata
Metadata
Assignees
Labels
No labels