Skip to content

Commit

Permalink
chore: update types;
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanuo committed Jun 4, 2024
1 parent a116f82 commit 32335e9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/mermaid-parser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

import { getController } from './render-control'
import type { MermaidOptions } from '.'
import type { MermaidOptions } from './types'

const functions = {
options: {
Expand Down
2 changes: 1 addition & 1 deletion src/plantuml-parser.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
2 changes: 1 addition & 1 deletion src/render-control.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Framework } from './index.d'
import type { Framework } from './types'

/**
* Render controller for other frameworks
Expand Down
File renamed without changes.

0 comments on commit 32335e9

Please sign in to comment.