refactor(type)!: make AbstractGraph.getPlugin return `T | undefined` by tbouffard · Pull Request #842 · maxGraph/maxGraph
Explicitly state that a plugin may not be available. BREAKING CHANGE: The `AbstractGraph.getPlugin` method now explicitly returns `undefined` when a plugin is not found. TypeScript users must update their code to handle the `undefined` case when calling this method.
tbouffard
deleted the
refactor/graph_getPlugin_return_undefined
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters