Closed nstuyvesant closed 3 years ago
Hmm, thanks. Let me see if I can repro
Actually, I think I know what's missing - we need the tab event here: https://github.com/bestguy/sveltestrap/blob/master/src/TabContent.d.ts#L11
I'll include in the next release this week, thanks for the catch.
Fantastic - thanks for checking on it!
Will do release shortly in next day or two
Should be good in v5.6.0 please confirm & close when you get a chance.
Thanks - sveltestrap@5.6.0 resolved this.
Getting a TypeScript warning in VS Code "Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)" and "Property 'detail' does not exist on type 'never'.ts(2339)" for the
<TabContent on:tab={(e) => (status = e.detail)}>
line in the template when using TypeScript.Tried typing the tab event handler...
but get warning on the same line: "Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)".
Curious whether you think this is an issue in the Svelte for VS Code extension or somewhere else.