build(arch): expose SVG library types

This commit is contained in:
NicolasNewman 2024-04-06 21:51:35 -05:00
parent 22c0090979
commit 251e808a29

View File

@ -15,6 +15,7 @@ import { isDetailedError } from './utils.js';
import type { DetailedError } from './utils.js'; import type { DetailedError } from './utils.js';
import type { ExternalDiagramDefinition } from './diagram-api/types.js'; import type { ExternalDiagramDefinition } from './diagram-api/types.js';
import type { UnknownDiagramError } from './errors.js'; import type { UnknownDiagramError } from './errors.js';
import type { IconLibrary, IconResolver } from './rendering-util/svgRegister.js';
export type { export type {
MermaidConfig, MermaidConfig,
@ -24,6 +25,8 @@ export type {
RenderResult, RenderResult,
ParseOptions, ParseOptions,
UnknownDiagramError, UnknownDiagramError,
IconLibrary,
IconResolver
}; };
export interface RunOptions { export interface RunOptions {