forked from mystiq/hydrogen-web
Add type and fix formatting
This commit is contained in:
parent
313e65e00c
commit
1456e308a8
2 changed files with 2 additions and 3 deletions
|
@ -49,7 +49,7 @@ export class DerivedVariables {
|
|||
return resolvedVariables;
|
||||
}
|
||||
|
||||
private _detectAliases() {
|
||||
private _detectAliases(): void {
|
||||
const newVariablesToDerive: string[] = [];
|
||||
for (const variable of this._variablesToDerive) {
|
||||
const [alias, value] = variable.split("=");
|
||||
|
@ -83,7 +83,6 @@ export class DerivedVariables {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private _deriveAlias(variable: string, resolvedVariables: Record<string, string>): string | undefined {
|
||||
const RE_VARIABLE_VALUE = /(.+)--(.+)-(.+)/;
|
||||
const matches = variable.match(RE_VARIABLE_VALUE);
|
||||
|
|
Loading…
Reference in a new issue