Skip to content

Commit 0530fd4

Browse files
authored
qrcode-svg: add svg-viewbox option
1 parent 606d41e commit 0530fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/qrcode-svg/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare class QRCode {
2828
* @param opt Set the container. Defaults to `{ container: "svg" }`.
2929
* @return The svg string.
3030
*/
31-
svg(opt?: { container: "svg" | "g" | "none" }): string;
31+
svg(opt?: { container: "svg" | "svg-viewbox" | "g" | "none" }): string;
3232
/**
3333
* Writes this QRCode to a file. Requires `fs`.
3434
* @param file The filename to write to

0 commit comments

Comments
 (0)