mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 23:14:24 +01:00
feat: add type declarations for turndown-plugin-gfm
This commit is contained in:
parent
2efb47289f
commit
08dea6d1ad
13
apps/web-clipper-manifestv3/src/types/turndown-plugin-gfm.d.ts
vendored
Normal file
13
apps/web-clipper-manifestv3/src/types/turndown-plugin-gfm.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Type declaration for turndown-plugin-gfm
|
||||||
|
declare module 'turndown-plugin-gfm' {
|
||||||
|
import TurndownService from 'turndown';
|
||||||
|
|
||||||
|
export interface PluginFunction {
|
||||||
|
(service: TurndownService): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const gfm: PluginFunction;
|
||||||
|
export const tables: PluginFunction;
|
||||||
|
export const strikethrough: PluginFunction;
|
||||||
|
export const taskListItems: PluginFunction;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user