Tim Haywood
Tim Haywood
Had a quick rough go at an initial implementation here: #28 Though yours is probably better! Didn't do anything special. Typechecking is failing for me, where it's not picking up...
TODO: Return type of `evalFunction` should probably be: ```ts Promise ``` But it would need to address the possibility that a returned object would need `JSON.parse`? I need to learn...
@justintaylor-dev added a draft PR, #43 . More details in the description and comments in there. Manually including the ExtendScript types at the root `tsconfig` fixes almost all the type...
I would recommended using [create-expression-lib] to do the setup for you rather than installing it manually, are you able to try that for me? Should be able to run `npx...
Hey @coeing, thanks for bringing this up! I encountered this a while ago, getting the exact error you did, but thought I had solved it with the current mocking strategy:...
I also realized it's worth clarifying (should do this in the readme too) - since this is only a *mock* implementation of the expressions API, it only mocks the API...
Fixed the use of `thisLayer` in the package source in the latest release, but not sure if it will fix it. https://github.com/motiondeveloper/expression-globals-typescript/releases/tag/v3.2.2
Makes sense, thanks @coeing !
@coeing Layer constructor should be fixed in the latest release: https://github.com/motiondeveloper/expression-globals-typescript/releases/tag/v3.2.3 Will get back onto tackling the actual testing issue again now, thanks for all your help! 👍
Sorry for the delay @PerryDesign! I'll take a look and see if I can get it working on the latest version of Node.