🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Missing Typescript declaration file from latest version
Hi, when installing the latest solclientjs package (10.12.0) via npm/yarn, there is no index.d.ts file in the package root. This results in Typescript complaining about a missing declaration.
I have had to downgrade to 10.11.0.
Comments
-
Thanks for the heads up @timwiffen. I'm pinging the team to take a look.
1 -
Hi @timwiffen,
Here's an update:
You are running into a known bug that was identified for
v10.12.0
which will be fixed inv10.13.0
where the package.json file was referencing a non-existent index.d.ts in the root directory.This bug is already in work by our engineering team and we are expecting release of `v10.13.0` by the end of the month. In the mean time you can either use `v10.11.0` as you are doing or you can use `v10.12.0` and set
paths
in thetsconfig.json
file to point to an existing index.d.ts in the lib."paths": { "solclientjs": [ "../path/to/module/solclient-full", "../path/to/module/type-definition/index.d.ts", ] },
Hope that helps!
1