mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-18 09:54:57 +00:00
added typescript definitions
added typescript definitions for the plugins: - markdown-it-mark - markdown-it-ins - markdown-it-sub - markdown-it-sup
This commit is contained in:
parent
7ea5a6a221
commit
7166de10f3
4 changed files with 24 additions and 0 deletions
6
src/external-types/markdown-it-ins/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-ins/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
declare module 'markdown-it-ins' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
const markdownItInserted: MarkdownIt.PluginSimple
|
||||
export = markdownItInserted
|
||||
}
|
6
src/external-types/markdown-it-mark/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-mark/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
declare module 'markdown-it-mark' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
const markdownItMark: MarkdownIt.PluginSimple
|
||||
export = markdownItMark
|
||||
}
|
6
src/external-types/markdown-it-sub/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-sub/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
declare module 'markdown-it-sub' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
const markdownItSubscript: MarkdownIt.PluginSimple
|
||||
export = markdownItSubscript
|
||||
}
|
6
src/external-types/markdown-it-sup/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-sup/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
declare module 'markdown-it-sup' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
const markdownItSuperscript: MarkdownIt.PluginSimple
|
||||
export = markdownItSuperscript
|
||||
}
|
Loading…
Add table
Reference in a new issue