Closed dperetti closed 4 years ago
Ah hm, would you mind testing if the following works?
import * as odiff from 'odiff'
Doesn't work either.
Sorry, I don't use typescript. @tontonrally added the code for that, so maybe he can help? Otherwise you might need to do your own investigating. I'm happy to help. I'd recommend seeing what is inside odiff in the two cases you tried up there (if 'equal' doesn't exist, is it null, is it an emtpy object, something else?)
👉😎👉
Published v1.4.0 with this in it
Sorry guys, didn't see that... As it is now fixed, I don't need to dig into. Thanks @dperetti for the fix.
type 'rm' has vals: any[]
@chapmanjacobd I think you're right. Would you be willing to write a pull request for that?
Ok
On Fri, Jun 5, 2020, 12:57 fresheneesz notifications@github.com wrote:
@chapmanjacobd https://github.com/chapmanjacobd I think you're right. Would you be willing to write a pull request for that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Tixit/odiff/issues/11#issuecomment-639275679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4KV2LUL5G4MDK35QGHD4DRVCCLXANCNFSM4J6NVHJA .
Fixed in pull request #19
-> Property 'equal' does not exist on type '(a: any, b: any) => odiffResult[]'