chore(types): add tsdocs
This commit is contained in:
@@ -11,7 +11,9 @@ import type {
|
||||
import type { Node } from '$lib/types';
|
||||
|
||||
/**
|
||||
* The Edge type is mainly used for the `edges` that get passed to the SvelteFlow component.
|
||||
* An `Edge` is the complete description with everything React Flow needs
|
||||
*to know in order to render it.
|
||||
* @public
|
||||
*/
|
||||
export type Edge<
|
||||
EdgeData extends Record<string, unknown> = Record<string, unknown>,
|
||||
|
||||
Reference in New Issue
Block a user