mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 08:53:50 +00:00
12 lines
230 B
TypeScript
12 lines
230 B
TypeScript
import { EntityState } from '@ngrx/entity';
|
|
|
|
interface EntityStateString extends EntityState<any> {
|
|
ids: string[];
|
|
}
|
|
|
|
export const createEmptyEntity = (): EntityStateString => {
|
|
return {
|
|
ids: [],
|
|
entities: {},
|
|
};
|
|
};
|