camelCaseDave / xrm-mock

:books: A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.
MIT License
76 stars 30 forks source link

Not working with latest @types/xrm #6

Closed yannicksaenen closed 6 years ago

yannicksaenen commented 6 years ago

Hi, it is not working with the latest @types/xrm. It just needs a small fix.

camelCaseDave commented 6 years ago

Hi @yannicksaenen, xrm-mock is built to work against version 8.2 of @types/xrm. I'm open to ideas as to how we structure the project to work with multiple versions, specifically the new (and quite different) version 9.

daryllabar commented 6 years ago

It appears to be working for me using the 9.0 @types/xrm

daryllabar commented 6 years ago

I do have a local version that is using the 9.0 types. There was one issue with the actually definitely typed definitions involving collections. I've fixed it in the DT source, but it will take a while before it gets approved and published. I can check in my local version of the Xrm @types, and once it does, just undo the check in, or I can wait to publish once the DT version is on npm.

Thoughts?