Skip to main content

directive

getCustomDirectiveResolver()​

function getCustomDirectiveResolver(
resolver,
type,
constDirectiveOption,
fallback?): Maybe<string>

Parameters​

resolver​

CustomDirectiveResolver

type​

unknown

constDirectiveOption​

CustomDirectiveMapItem

fallback?​

Maybe<string>

Returns​

Maybe<string>

Defined in​

directive.ts:17


getCustomTags()​

function getCustomTags(type, options): Badge[]

Parameters​

type​

unknown

options​

PrintTypeOptions

Returns​

Badge[]

Defined in​

directive.ts:89


printCustomDirective()​

function printCustomDirective(
type,
constDirectiveOption,
options): Maybe<string>

Parameters​

type​

unknown

constDirectiveOption​

CustomDirectiveMapItem

options​

PrintTypeOptions

Returns​

Maybe<string>

Defined in​

directive.ts:37


printCustomDirectives()​

function printCustomDirectives(type, options): string

Parameters​

type​

unknown

options​

PrintTypeOptions

Returns​

string

Defined in​

directive.ts:59


printCustomTags()​

function printCustomTags(type, options): string | MDXString

Parameters​

type​

unknown

options​

PrintTypeOptions

Returns​

string | MDXString

Defined in​

directive.ts:115