提交 9a824a75 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix file-box

上级 1c247222
......@@ -57,7 +57,7 @@ test('looseInstanceOfClass: n/a', async t => {
test('looseInstanceOfClass for FileBox', async t => {
const f = FileBox.fromQRCode('test')
const looseInstanceOfFileBox = looseInstanceOfClass(FileBox)
const looseInstanceOfFileBox = looseInstanceOfClass(FileBox as any as FileBox & { new (...args: any): FileBox })
const OrigFileBox = FileBox
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册