Merge pull request #5158 from dimaMachina/tsdoc2-4
Fix typo `React Flow` -> `Svelte Flow`
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@xyflow/svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix typo `React Flow` -> `Svelte Flow`
|
||||||
@@ -11,8 +11,8 @@ import type {
|
|||||||
import type { Node } from '$lib/types';
|
import type { Node } from '$lib/types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An `Edge` is the complete description with everything React Flow needs
|
* An `Edge` is the complete description with everything Svelte Flow needs to know in order to
|
||||||
*to know in order to render it.
|
* render it.
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export type Edge<
|
export type Edge<
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { isNodeBase, isEdgeBase } from '@xyflow/system';
|
|||||||
import type { Edge, Node } from '$lib/types';
|
import type { Edge, Node } from '$lib/types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test whether an object is useable as a Node
|
* Test whether an object is usable as a Node
|
||||||
* @public
|
* @public
|
||||||
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Node if it returns true
|
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Node if it returns true
|
||||||
* @param element - The element to test
|
* @param element - The element to test
|
||||||
@@ -13,7 +13,7 @@ export const isNode = <NodeType extends Node = Node>(element: unknown): element
|
|||||||
isNodeBase<NodeType>(element);
|
isNodeBase<NodeType>(element);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test whether an object is useable as an Edge
|
* Test whether an object is usable as an Edge
|
||||||
* @public
|
* @public
|
||||||
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Edge if it returns true
|
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Edge if it returns true
|
||||||
* @param element - The element to test
|
* @param element - The element to test
|
||||||
|
|||||||
Reference in New Issue
Block a user