i399exng1ts/app/data.srv.i.ts

9 lines
144 B
TypeScript
Raw Normal View History

2017-05-17 18:36:09 +03:00
import { Post } from './post.cls';
export interface DataService {
addPost(post: Post): Promise<void>;
getPosts(): Promise<Post[]>;
}