[chore] update dependencies (#320)
* update dependencies * no message --------- Co-authored-by: iBicha <iBicha@users.noreply.github.com> Co-authored-by: Brahim Hadriche <brahim.hadriche@gmail.com>
This commit is contained in:
7 files changed
+88
-514
No files matched your search
@@ -114,7 +114,7 @@ export class LoggerPlugin implements CompilerPlugin {
|
||||
event.editor.addToArray(args, 0, sourceExpression);
|
||||
} else {
|
||||
const fileName = path.basename(event.file.pkgPath);
|
||||
const line = statement.range.start.line;
|
||||
const line = statement.range!.start.line;
|
||||
const t = createToken(TokenKind.StringLiteral, `\"[${fileName}:${line}]\"`, statement.expression.range);
|
||||
let sourceExpression = new SourceLiteralExpression(t);
|
||||
event.editor.addToArray(args, 0, sourceExpression);
|
||||
|
||||
@@ -207,7 +207,7 @@ export class OnInitPlugin implements CompilerPlugin {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return args[0].valueOf() as number;
|
||||
return args[0]!.valueOf() as number;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user