Type hints unavailable from LDClient type export #714
Labels
bug
Something isn't working
package: sdk/cloudflare
Label for issues affecting the sdk/cloudflare package.
Describe the bug
When importing the client from the
cloudflare
package the JSDoc typings are not available.To reproduce
Import your client like:
Expected behavior
I would expect hovering over
LDClient
to provide JSDoc-style comments and type hints like:Unfortunately, that only seems to be working when the client is imported from
@launchdarkly/js-server-sdk-common
.Logs
n/a
SDK version
2.6.3
Language version, developer tools
JS core SDK package named
cloudflare
, VSCodeOS/platform
macOS
Additional context
Nice to have. Would make my life easier.
The text was updated successfully, but these errors were encountered: