Open asyakalinina opened 3 months ago
./node_modules/react-qrcode-logo/lib/index.tsx:282:24 Type error: This expression is not callable. Type '{ default: QRCodeFactory; stringToBytes(s: string): number[]; stringToBytesFuncs: { [encoding: string]: (s: string) => number[]; }; createStringToBytes(unicodeData: string, numChars: number): (s: string) => number[]; }' has no call signatures.
280 | const logoPadding = this.props.logoPadding ? +this.props.logoPadding : 0; 281 |
282 | const qrCode = qrGenerator(0, ecLevel); | ^ 283 | qrCode.addData(this.utf16to8(value)); 284 | qrCode.make();
hi, I can't reproduce this error, can you please provide more information about your environment and a code example ?
./node_modules/react-qrcode-logo/lib/index.tsx:282:24 Type error: This expression is not callable. Type '{ default: QRCodeFactory; stringToBytes(s: string): number[]; stringToBytesFuncs: { [encoding: string]: (s: string) => number[]; }; createStringToBytes(unicodeData: string, numChars: number): (s: string) => number[]; }' has no call signatures.
280 | const logoPadding = this.props.logoPadding ? +this.props.logoPadding : 0; 281 |