feathersjs-ecosystem / client

[MOVED] Client side Feathers build
https://github.com/feathersjs/feathers
MIT License
111 stars 27 forks source link

Update TypeScript definition for service.patch #199

Closed kfatehi closed 7 years ago

kfatehi commented 7 years ago

Similar to React's setState, the patch function should allow a partial object of a given type, but no extraneous keys thereafter.

Resource: https://github.com/developit/preact/blob/f7834ec9fb7848581c6fbc7833bcbe2f2db9fe61/src/preact.d.ts#L61