danielmhanover / typeorm-upsert

37 stars 2 forks source link

Fixes #4 TypeScript error when passing an Entity #5

Closed yagoferrer closed 4 years ago

yagoferrer commented 4 years ago

This PR fixes issue #4. I was not able to use typeorm-upsert because I'm using a different version of TypeORM and the implementations are a little different. This was causing a TypeScript throw an error when passing an Entity. This fix reduces the number of dependencies, and warrantees better forward compatibility

danielmhanover commented 4 years ago

just added you as a collaborator - feel free to resolve the conflicts and merge this in when you can