@types/qrcode
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -15,2 +15,4 @@ // Type definitions for qrcode 1.4 | ||
export type QRCodeMAskPattern = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | '1' | '2' | '3' | '4' | '5' | '6' | '7'; | ||
export interface QRCodeOptions { | ||
@@ -28,2 +30,8 @@ /** | ||
/** | ||
* maskPattern. | ||
* Possible values are numbers 0 to 7 or strings representing numbers 0 to 7. | ||
* Default: undefined - most suitable value will be calculated. | ||
*/ | ||
maskPattern?: QRCodeMAskPattern; | ||
/** | ||
* Helper function used internally to convert a kanji to its Shift JIS value. | ||
@@ -169,3 +177,3 @@ * Provide this function if you need support for Kanji mode. | ||
*/ | ||
maskPattern: any; | ||
maskPattern: QRCodeMAskPattern; | ||
/** | ||
@@ -172,0 +180,0 @@ * Generated segments |
{ | ||
"name": "@types/qrcode", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "TypeScript definitions for qrcode", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qrcode", | ||
}, | ||
"typesPublisherContentHash": "3b627c8bce672020ce1168c8dc1540c2f23010137c64ded223522f59446a6c66", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "2695799b86e6e0c53b25dee11373065eb8819d4923e223407482d5bc69a9baac", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 16 Dec 2021 22:32:05 GMT | ||
* Last updated: Tue, 16 Aug 2022 12:32:38 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14321
356