UNPKG

@atlaskit/adf-utils

Version:

Set of utilities to traverse, modify and create ADF documents.

6 lines (5 loc) 230 B
import type { WithMark } from '../types'; import type { TextDefinition } from '@atlaskit/adf-schema'; export declare function applyMark<T>(mark: T & { type: string; }, maybeNode: WithMark | string): WithMark | TextDefinition;