diff --git a/src/index.ts b/src/index.ts index d4fb7a1..075cd18 100644 --- a/src/index.ts +++ b/src/index.ts @@ -945,9 +945,10 @@ export type StoresInput = StoreInput | readonly [StoreInput, ...StoreI * If the type given as a parameter is one of an array of {@link StoreInput}, the returned type * is the type of an array containing the value of each store in the same order. */ -export type StoresInputValues = S extends StoreInput - ? T - : { [K in keyof S]: S[K] extends StoreInput ? T : never }; +export type StoresInputValues = + S extends StoreInput + ? T + : { [K in keyof S]: S[K] extends StoreInput ? T : never }; export type SyncDeriveFn = (values: StoresInputValues) => T; export interface SyncDeriveOptions extends Omit, 'onUse'> { diff --git a/tsconfig.json b/tsconfig.json index 9396696..ce4f127 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,6 @@ "moduleResolution": "Node", "strict": true, "noImplicitOverride": true, - "useDefineForClassFields": false - } + "useDefineForClassFields": false, + }, }