VoliJS / Type-R

Reactive and serializable objects with transactional changes.
MIT License
51 stars 8 forks source link

Fix typescript compilation error #30

Closed Bolik closed 5 years ago

gaperton commented 6 years ago

Are you sure? This change will requre the callback function inside of each to have two parameters. So, you couldn't write record.each( value => console.log( value ) )

How the removing of ? could possibly fix the compilation error? Am I missing something?

Bolik commented 6 years ago

It's conflicts with iteratee (value: any, key: string|number)

gaperton commented 5 years ago

I tried to make sure that all issues you are fixing here are fixed in v3.0.

v3.0 is released. Try it and report any TypeScript issues you can find.