This message was deleted.
# extensions
a
This message was deleted.
d
Here is what I have found in the types definition:
The code example for using these methods doesn't import the functions as well, I don't think that it could work as is.
b
Hi @damp-motherboard-67332 👋 Can you open an issue on https://github.com/rancher/dashboard, please? Add the label
area/extensions
and you can assign it to me (Alexandre Alves). I need some time to take a look at it (try and repro it) 🙏
btw, what shell version are you using?
d
Hello Alexandre, I'm creating the issue, thanks for the feedback. The version mentioned in my package.json is the following: 3.0.2
It seems like I don't have enough rights to add the label or assign the issue to you @busy-ability-54059 Here is the link: https://github.com/rancher/dashboard/issues/13858
b
I’ve added the label and assigned it to me @damp-motherboard-67332 . Thanks
I think you might be right @damp-motherboard-67332 🤔 The definition of the functions are missing. We need to fix it
create a
js
instead of a
ts
file to circumvent it, for now… I think you won’t have problems with the build doing that
d
Thanks for looking at it, I tried running a yarn build and it executes correctly even with the ts extension
b
For me it failed
😮 1
Hi @damp-motherboard-67332. I’ve released shell
3.0.3
with the fix. Give it a go 🙏 https://www.npmjs.com/package/@rancher/shell?activeTab=versions
d
Hello Alexandre, thanks for the quick fix ! All seems to work. No more complaints from my IDE and I can still build my extension
I'm struggling with certain aspect of Rancher for interacting with kubernetes with my extension, I may com back here with some questions if it's alright 😄
👍 1