mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +00:00
style: 💄 lint fix
This commit is contained in:
parent
82feb9952a
commit
17dbb898e8
@ -7,7 +7,7 @@ import { isIdentifier, Node } from '@babel/types';
|
||||
import { OrderedSet } from './OrderedSet';
|
||||
|
||||
export class ParseError extends Error {
|
||||
constructor(public readonly expr: string, public readonly detail: unknown) {
|
||||
constructor(readonly expr: string, readonly detail: unknown) {
|
||||
super(`Failed to parse expression "${expr}"`);
|
||||
Object.setPrototypeOf(this, new.target.prototype);
|
||||
}
|
||||
@ -160,7 +160,7 @@ export function parseExpressionGetGlobalVariables(
|
||||
|
||||
export function parseExpressionConvertThis2Context(
|
||||
expr: string,
|
||||
contextName: string = '__$$context',
|
||||
contextName = '__$$context',
|
||||
localVariables: string[] = [],
|
||||
): string {
|
||||
if (!expr) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user