bpmn-js
Version:
A bpmn 2.0 toolkit and web modeler
23 lines (20 loc) • 461 B
TypeScript
/**
* Wraps APIs to check:
*
* 1) If a callback is passed -> Warn users about callback deprecation.
* 2) If Promise class is implemented in current environment.
*
* @private
*
* @param api
*
* @return
*/
export function wrapForCompatibility(api: Function): Function;
/**
* @private
*
* @param businessObject
*/
export function ensureCompatDiRef(businessObject: ModdleElement): void;
type ModdleElement = import('../model/Types').ModdleElement;