mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): narrow dispatched events without detail to use null
instead of any
(#1295)
* chore(deps-dev): upgrade sveld to v0.15.2 * Run "yarn build:docs"
This commit is contained in:
parent
5576c7ce84
commit
88d5152343
14 changed files with 112 additions and 83 deletions
2
types/CodeSnippet/CodeSnippet.svelte.d.ts
vendored
2
types/CodeSnippet/CodeSnippet.svelte.d.ts
vendored
|
@ -127,7 +127,7 @@ export default class CodeSnippet extends SvelteComponentTyped<
|
|||
mouseenter: WindowEventMap["mouseenter"];
|
||||
mouseleave: WindowEventMap["mouseleave"];
|
||||
animationend: WindowEventMap["animationend"];
|
||||
copy: CustomEvent<any>;
|
||||
copy: CustomEvent<null>;
|
||||
},
|
||||
{ default: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue