Fix type generation for namespaced types

Fixes #147
This commit is contained in:
Daniel
2022-02-21 14:36:54 +01:00
parent 78e65c6b42
commit 9a70dd984c
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/// <reference types="offscreencanvas" />
export default class QrScanner {
declare class QrScanner {
static readonly DEFAULT_CANVAS_SIZE = 400;
static readonly NO_QR_CODE_FOUND = "No QR code found";
private static _disableBarcodeDetector;
@@ -120,4 +120,4 @@ declare class BarcodeDetector {
cornerPoints: QrScanner.Point[];
}>>;
}
export {};
export default QrScanner;