diff --git a/typings/fetchResult.ts b/typings/fetchResult.ts new file mode 100644 index 0000000..2f5decf --- /dev/null +++ b/typings/fetchResult.ts @@ -0,0 +1,6 @@ +import { IStory } from "~/models/stories"; + +export interface StoryFetchResult { + stories: IStory[]; + total: number; +}