From f801b616a304dbf3dec81387810f722a8aec6817 Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Fri, 13 Dec 2024 14:13:20 +0200 Subject: [PATCH] refactor(runtime): add missing array type --- packages/runtime/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime/src/index.ts b/packages/runtime/src/index.ts index 7caac6e03..9dc01d975 100644 --- a/packages/runtime/src/index.ts +++ b/packages/runtime/src/index.ts @@ -56,7 +56,7 @@ function createStateClass(namespace: string, stateName: string, stateValue: Stat } export function classesRuntime(namespace: string): string { - var classNames = []; + var classNames: string[] = []; for (var i = 1; i < arguments.length; i++) { // eslint-disable-next-line prefer-rest-params