diff --git a/js/qrcode.d.ts b/js/qrcode.d.ts index b34952e..8b10ac7 100644 --- a/js/qrcode.d.ts +++ b/js/qrcode.d.ts @@ -28,7 +28,7 @@ type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H'; type Mode = 'Numeric' | 'Alphanumeric' | 'Byte' /* Default */ | 'Kanji'; interface QRCodeFactory { - (typeNumber: TypeNumber, errorCorrectionLevel: ErrorCorrectionLevel) : QRCode; + default(typeNumber: TypeNumber, errorCorrectionLevel: ErrorCorrectionLevel) : QRCode; stringToBytes(s: string) : number[]; stringToBytesFuncs : { [encoding : string] : (s: string) => number[] }; createStringToBytes(unicodeData: string, numChars: number) :