mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(types): use @component
comments for deprecation notices (#1111)
The Svelte Language Server allows component-level comments through `<!-- @component ... -->` syntax. Deprecation notices for components should be moved from the script block to the markup template.
This commit is contained in:
parent
7c0086d00c
commit
df4ed9d75a
13 changed files with 61 additions and 40 deletions
|
@ -27,6 +27,9 @@ export interface NotificationTextDetailsProps {
|
|||
caption?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated This component is deprecated.
|
||||
*/
|
||||
export default class NotificationTextDetails extends SvelteComponentTyped<
|
||||
NotificationTextDetailsProps,
|
||||
{},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue