From 669a11854e075e6bb112ac276f1878f3e2e7dc8b Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Fri, 12 Apr 2024 18:57:31 +0700 Subject: [PATCH] test: fix `@typescript-eslint/consistent-indexed-object-style` lint issue --- src/inputs.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/inputs.test.ts b/src/inputs.test.ts index ac127d9..39a3e17 100644 --- a/src/inputs.test.ts +++ b/src/inputs.test.ts @@ -11,9 +11,9 @@ jest.unstable_mockModule("@actions/core", () => ({ describe("get action inputs", () => { interface TestCase { name: string; - booleanInputs?: { [key: string]: boolean }; - stringInputs?: { [key: string]: string }; - multilineInputs?: { [key: string]: string[] }; + booleanInputs?: Record; + stringInputs?: Record; + multilineInputs?: Record; expectedInputs?: Partial; }