Skip to content

Commit bc35966

Browse files
committed
chore: format
1 parent 620ce30 commit bc35966

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/actions/crud-transitions.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ import { createTransitions } from './transitions';
2222
* const item = createCrudTransitions<Item>()('items', ['groupId', 'itemId']);
2323
* ```
2424
*/
25-
export function createCrudTransitions<T extends Record<string, any>>(): <
26-
const Keys extends readonly [keyof T & string, ...(keyof T & string)[]],
27-
>(
25+
export function createCrudTransitions<T extends Record<string, any>>(): <const Keys extends readonly [keyof T & string, ...(keyof T & string)[]]>(
2826
namespace: string,
2927
keys: Keys,
3028
) => {
@@ -53,6 +51,5 @@ export function createCrudTransitions<T extends Record<string, any>>(namespace?:
5351
return build(namespace, crudPrepare<T>(key));
5452
}
5553

56-
return <const Keys extends readonly [keyof T & string, ...(keyof T & string)[]]>(ns: string, keys: Keys) =>
57-
build(ns, crudPrepare<T>()(keys) as any);
54+
return <const Keys extends readonly [keyof T & string, ...(keyof T & string)[]]>(ns: string, keys: Keys) => build(ns, crudPrepare<T>()(keys) as any);
5855
}

0 commit comments

Comments
 (0)