Clean up JSDoc (#327)

* Convert comments to JSDoc

* Clean JSdoc

* nit

* Clean up all JSDoc & ESLint warnings

Disables max-len for now
Removes redundant JSDoc tags (empty, same name, wrong name, etc)
This commit is contained in:
filtered
2024-11-22 02:11:53 +11:00
committed by GitHub
parent 0263704c6c
commit f79133659f
13 changed files with 359 additions and 392 deletions

View File

@@ -106,7 +106,7 @@ export interface ClipboardItems {
links?: SerialisableLLink[]
}
/** */
/** @deprecated */
export interface IClipboardContents {
nodes?: ISerialisedNode[]
links?: TClipboardLink[]

View File

@@ -27,7 +27,6 @@ export interface IWidgetOptions<TValue = unknown> extends Record<string, unknown
/**
* A widget for a node.
* @typescript
* All types are based on IBaseWidget - additions can be made there or directly on individual types.
*
* Implemented as a discriminative union of widget types, so this type itself cannot be extended.