diff --git a/src/index.ts b/src/index.ts index 1062c3d..e160274 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import type MarkdownIt from 'markdown-it/index.js' import type { Renderer, Token } from 'markdown-it/index.js' import * as mermaidFunctions from './mermaid-parser' import * as platumlFunctions from './plantuml-parser' -import type { PlantumlOptions } from './index.d' +import type { PlantumlOptions } from './types' export default function umlPlugin(md: MarkdownIt, options: PlantumlOptions = {}) { platumlFunctions.default.functions.initialize(options) diff --git a/src/mermaid-parser.ts b/src/mermaid-parser.ts index b8f552c..d472c7f 100644 --- a/src/mermaid-parser.ts +++ b/src/mermaid-parser.ts @@ -1,7 +1,7 @@ 'use strict' import { getController } from './render-control' -import type { MermaidOptions } from '.' +import type { MermaidOptions } from './types' const functions = { options: { diff --git a/src/plantuml-parser.ts b/src/plantuml-parser.ts index 241fb4c..59867f6 100644 --- a/src/plantuml-parser.ts +++ b/src/plantuml-parser.ts @@ -1,7 +1,7 @@ // Process block-level uml diagrams // 'use strict' -import type { PlantumlOptions } from './index.d' +import type { PlantumlOptions } from './types' import deflate from './deflate' import { getController } from './render-control' diff --git a/src/render-control.ts b/src/render-control.ts index 27ff843..c2e107b 100644 --- a/src/render-control.ts +++ b/src/render-control.ts @@ -1,4 +1,4 @@ -import type { Framework } from './index.d' +import type { Framework } from './types' /** * Render controller for other frameworks diff --git a/src/index.d.ts b/src/types.ts similarity index 100% rename from src/index.d.ts rename to src/types.ts