mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
Removed some types as the package comes with it own types now (#949)
This commit is contained in:
parent
908a5ce984
commit
d838b2c2d4
5 changed files with 10 additions and 40 deletions
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module 'markdown-it-front-matter' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
export type FrontMatterPluginOptions = (rawMeta: string) => void
|
||||
const markdownItFrontMatter: MarkdownIt.PluginWithOptions<FrontMatterPluginOptions>
|
||||
export = markdownItFrontMatter
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module 'markdown-it-plantuml' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
import { PlantumlOptions } from './interface'
|
||||
const markdownItPlantuml: MarkdownIt.PluginWithOptions<PlantumlOptions>
|
||||
export = markdownItPlantuml
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import Renderer from 'markdown-it/lib/renderer'
|
||||
|
||||
export interface PlantumlOptions {
|
||||
openMarker: string
|
||||
closeMarker: string
|
||||
render: Renderer
|
||||
generateSource: (umlCode: string, pluginOptions: PlantumlOptions) => string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue