UNPKG

lism

Version:

Collection of TypeScript Utilities to help developers streamline their coding workflow.

12 lines (11 loc) 295 B
/** * Represents a node with a key and associated data. * Useful for data structures like trees or graphs. * * @property {number} key - The unique identifier for the node. * @property {any} data - The data associated with the node. */ export interface Node { key: number; data: any; }