This map registers all frontmatter node types.
This interface can be augmented to register custom node types.
declare module 'mdast' { interface FrontmatterContentMap { // Allow using toml nodes defined by remark-frontmatter. toml: TOML; } }
remark-frontmatter
Generated using TypeDoc
This map registers all frontmatter node types.
This interface can be augmented to register custom node types.
Example
declare module 'mdast' { interface FrontmatterContentMap { // Allow using toml nodes defined by
remark-frontmatter
. toml: TOML; } }