Skip to content

Commit c87c7f9

Browse files
committed
replace type literal with interface in service
1 parent b875af4 commit c87c7f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/app/graphql-server.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export class GraphqlServerService {
4141
}
4242
`;
4343

44-
type Response = {
44+
interface Response {
4545
createPost: Post;
46-
};
46+
}
4747

4848
return this.apollo.mutate<Response, Post>({
4949
mutation: this.query,

0 commit comments

Comments
 (0)