提交 840374d8 编写于 作者: DCloud-yyl's avatar DCloud-yyl

修复uni-exit插件的语法警告

上级 ccc53ef5
import { ExitOptions, ExitSuccess, ExitCompleteCallback, Exit } from "../interface.uts" import { ExitOptions, ExitSuccess, Exit } from "../interface.uts"
/** /**
......
import { ExitOptions, ExitFailCallback, ExitCompleteCallback, Exit} from "../interface.uts" import { ExitOptions, Exit} from "../interface.uts"
import { ExitFailImpl } from "../unierror.uts" import { ExitFailImpl } from "../unierror.uts"
......
...@@ -25,6 +25,7 @@ export const UniErrors:Map<number, string> = new Map([ ...@@ -25,6 +25,7 @@ export const UniErrors:Map<number, string> = new Map([
* ExitFail的实现 * ExitFail的实现
*/ */
export class ExitFailImpl extends UniError implements IExitError { export class ExitFailImpl extends UniError implements IExitError {
override errCode: ExitErrorCode
constructor ( constructor (
errCode: ExitErrorCode errCode: ExitErrorCode
) { ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册