We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createPattern arg repetition type is widened to string
createPattern
repetition
string
however According to MDN should be "repeat" | "repeat-x" | "repeat-y" | "no-repeat"
"repeat" | "repeat-x" | "repeat-y" | "no-repeat"
location in repo https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/baselines/dom.generated.d.ts#L5747
current signature
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
expected signature
type PatternRepeatMode = "repeat" | "repeat-x" | "repeat-y" | "no-repeat" createPattern(image: CanvasImageSource, repetition: PatternRepeatMode | null): CanvasPattern | null;
The text was updated successfully, but these errors were encountered:
Just to make the issue clear: Currently we have this in current master.
Sorry, something went wrong.
No branches or pull requests
createPattern
argrepetition
type is widened tostring
however According to MDN should be
"repeat" | "repeat-x" | "repeat-y" | "no-repeat"
location in repo
https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/main/baselines/dom.generated.d.ts#L5747
current signature
expected signature
The text was updated successfully, but these errors were encountered: