ModelingUtil.d.ts 324 B

123456789101112
  1. /**
  2. * Return the parent of the element with any of the given types.
  3. *
  4. * @param element
  5. * @param anyType
  6. *
  7. * @return
  8. */
  9. export function getParent(element: Element, anyType: string | string[]): Element | null;
  10. type Element = import('../../../model/Types').Element;
  11. export { is, isAny } from "../../../util/ModelUtil";