kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 311 forks source link

fix type #1819

Closed RobinKamps closed 2 years ago

RobinKamps commented 2 years ago

Checklist:

RobinKamps commented 2 years ago

possible fix for #1818

danielaltamarb commented 2 years ago

it totally work for me, thank you!!!!!

laudebugs commented 2 years ago

I've seen this issue come up recently as well. Thanks for the fix!

jbelien commented 2 years ago

Thanks for this PR. It indeed seems to fix an issue where TypeScript is complaining about the data property on MutationResult.

La propriété 'data' n'existe pas sur le type 'MutationResult<{ emergency_plan: EmergencyPlan; }>'.ts(2339)

PowerKiKi commented 2 years ago

https://github.com/kamilkisiela/apollo-angular/issues/1818#issuecomment-1277348269 is already closed as solved. Is this PR still needed ?

RobinKamps commented 2 years ago

Fixed - not needed anymore