Closed DiscreteTom closed 1 year ago
Currently the type Level is not exported, thus there will be a type error in TypeScript.
Level
E.g.:
<template> <qrcode-vue :level="level" /> </template> <script setup lang="ts"> import QrcodeVue from "qrcode.vue"; const level = ref("H"); </script>
Got: Type 'string' is not assignable to type 'Level | undefined'..
Type 'string' is not assignable to type 'Level | undefined'.
Hi, Please upgrade the version to 3.4.1. Now, the type named Level and RenderAs will be export.
3.4.1
RenderAs
Currently the type
Level
is not exported, thus there will be a type error in TypeScript.E.g.:
Got:
Type 'string' is not assignable to type 'Level | undefined'.
.