test: fix @typescript-eslint/consistent-indexed-object-style lint issue

This commit is contained in:
Alfi Maulana 2024-04-12 18:57:31 +07:00
parent 2f79fde5e7
commit 669a11854e
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -11,9 +11,9 @@ jest.unstable_mockModule("@actions/core", () => ({
describe("get action inputs", () => { describe("get action inputs", () => {
interface TestCase { interface TestCase {
name: string; name: string;
booleanInputs?: { [key: string]: boolean }; booleanInputs?: Record<string, boolean>;
stringInputs?: { [key: string]: string }; stringInputs?: Record<string, string>;
multilineInputs?: { [key: string]: string[] }; multilineInputs?: Record<string, string[]>;
expectedInputs?: Partial<Inputs>; expectedInputs?: Partial<Inputs>;
} }