Closed matt-oplo closed 1 year ago
Now that opened a can of worms 😁
@matt-oplo there is an attached PR, not sure if you would like to pull it down and compile it (if you use npm run compile - it will build and link it, so you can npm link featurehub-javascript-client-sdk
into your codebase and check)
Thanks. I'll have a look at it.
@rvowles I've pulled the PR, built it, and linked it to my project which now builds without error.
done and released as 1.3.0 @matt-oplo
Thanks for your work on this @rvowles
Describe the bug Using the SDK in a Typescript project with strict type checking enabled, produces the following error:
This is because the return types in the
BaseClientContext
abstract class and theClientContext
interface are different.BaseClientContext:
ClientContext:
Which area does this issue belong to?
To Reproduce Steps to reproduce the behavior:
"strict": true
intsconfig.json
Expected behavior Project builds without errors.
Versions