mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
修正
This commit is contained in:
parent
121046c0c0
commit
1946f4ede9
10
src/store/cache/state.ts
vendored
10
src/store/cache/state.ts
vendored
|
@ -1,10 +1,12 @@
|
|||
export interface ExampleStateInterface {
|
||||
prop: boolean;
|
||||
import { TaskBaseItem } from "src/models/task";
|
||||
|
||||
export interface CacheStateInterface {
|
||||
tasks: TaskBaseItem[];
|
||||
}
|
||||
|
||||
function state(): ExampleStateInterface {
|
||||
function state(): CacheStateInterface {
|
||||
return {
|
||||
prop: false,
|
||||
tasks: [],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user