diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-23 15:18:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 19:18:52 +0000 |
commit | 33f169beb90814b7f2f62a8c0e3990722ae3db4c (patch) | |
tree | 9877fb3b7dcbfd4482afc530467c072e38601f55 /ext/canvas | |
parent | e1c8d2755e23182875b8fefeb558e603dd981418 (diff) |
chore: add code generation for @types/deno (#25545)
Diffstat (limited to 'ext/canvas')
-rw-r--r-- | ext/canvas/lib.deno_canvas.d.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/canvas/lib.deno_canvas.d.ts b/ext/canvas/lib.deno_canvas.d.ts index 54ae3e66b..c695ba5cd 100644 --- a/ext/canvas/lib.deno_canvas.d.ts +++ b/ext/canvas/lib.deno_canvas.d.ts @@ -12,14 +12,14 @@ * * @category Canvas */ -declare type ColorSpaceConversion = "default" | "none"; +type ColorSpaceConversion = "default" | "none"; /** * Specifies how the bitmap image should be oriented. * * @category Canvas */ -declare type ImageOrientation = "flipY" | "from-image" | "none"; +type ImageOrientation = "flipY" | "from-image" | "none"; /** * Specifies whether the bitmap's color channels should be premultiplied by @@ -27,7 +27,7 @@ declare type ImageOrientation = "flipY" | "from-image" | "none"; * * @category Canvas */ -declare type PremultiplyAlpha = "default" | "none" | "premultiply"; +type PremultiplyAlpha = "default" | "none" | "premultiply"; /** * Specifies the algorithm to be used for resizing the input to match the @@ -35,20 +35,20 @@ declare type PremultiplyAlpha = "default" | "none" | "premultiply"; * * @category Canvas */ -declare type ResizeQuality = "high" | "low" | "medium" | "pixelated"; +type ResizeQuality = "high" | "low" | "medium" | "pixelated"; /** * The `ImageBitmapSource` type represents an image data source that can be * used to create an `ImageBitmap`. * * @category Canvas */ -declare type ImageBitmapSource = Blob | ImageData; +type ImageBitmapSource = Blob | ImageData; /** * The options of {@linkcode createImageBitmap}. * * @category Canvas */ -declare interface ImageBitmapOptions { +interface ImageBitmapOptions { /** * Specifies whether the image should be decoded using color space * conversion. Either none or default (default). The value default @@ -116,7 +116,7 @@ declare function createImageBitmap( * * @category Canvas */ -declare interface ImageBitmap { +interface ImageBitmap { /** * The height of the bitmap. */ |