summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/hpml/index.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-02-22 15:28:17 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-02-22 15:28:17 +0900
commit0fb9c372ddec7d5284d6402625cbaffc9ac7eb0b (patch)
treedfae9acf6103f3bb7a2bd0300326183659b3a29f /packages/frontend/src/scripts/hpml/index.ts
parentimprove performance of some tests (diff)
downloadmisskey-0fb9c372ddec7d5284d6402625cbaffc9ac7eb0b.tar.gz
misskey-0fb9c372ddec7d5284d6402625cbaffc9ac7eb0b.tar.bz2
misskey-0fb9c372ddec7d5284d6402625cbaffc9ac7eb0b.zip
lint
Diffstat (limited to 'packages/frontend/src/scripts/hpml/index.ts')
-rw-r--r--packages/frontend/src/scripts/hpml/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/hpml/index.ts b/packages/frontend/src/scripts/hpml/index.ts
index 5c07a08315..587c6a36c8 100644
--- a/packages/frontend/src/scripts/hpml/index.ts
+++ b/packages/frontend/src/scripts/hpml/index.ts
@@ -58,7 +58,7 @@ export class HpmlScope {
constructor(layerdStates: HpmlScope['layerdStates'], name?: HpmlScope['name']) {
this.layerdStates = layerdStates;
- this.name = name || 'anonymous';
+ this.name = name ?? 'anonymous';
}
@autobind