UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

5 lines (4 loc) 191 B
/** * Gets the first parent of an element that isn't `display: inline`. Returns null if no matching element */ export declare function getNonInlineParent(element: Element): Element | null;