From b18f4625e77f27f70fec9fbd14c09dca7e6d7e4f Mon Sep 17 00:00:00 2001 From: RcleydsonR Date: Tue, 22 Nov 2022 19:08:08 -0300 Subject: [PATCH] update tsconfig adding resolveJsonModule equals true in compilerOptions --- src/utils/QrCodePix.ts | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/QrCodePix.ts b/src/utils/QrCodePix.ts index b75b676..b3ae630 100644 --- a/src/utils/QrCodePix.ts +++ b/src/utils/QrCodePix.ts @@ -1,7 +1,7 @@ import qrcode from "qrcode"; import type { QRCodeToDataURLOptions } from "qrcode"; import { crc16ccitt } from "crc"; -import { type Pix } from "@/model/Pix"; +import type { Pix } from "@/model/Pix"; const pix = ({ pixKey, diff --git a/tsconfig.json b/tsconfig.json index 8d23599..a67536f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "baseUrl": ".", "paths": { "@/*": ["./src/*"] - } + }, + "resolveJsonModule": true }, "references": [