Skip to content

Commit e476656

Browse files
willemmulderzbjornson
authored andcommittedOct 26, 2020
Added stride to the Typescript typings
1 parent 41d1c99 commit e476656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export class Canvas {
6060
/** _Non standard._ The type of the canvas. */
6161
readonly type: 'image'|'pdf'|'svg'
6262

63-
// This is a getter, but it's non-standard and I don't know why we export it.
64-
// readonly stride: number;
63+
/** _Non standard._ Getter. The stride used by the canvas. */
64+
readonly stride: number;
6565

6666
/** Constant used in PNG encoding methods. */
6767
readonly PNG_NO_FILTERS: number

0 commit comments

Comments
 (0)
Please sign in to comment.