mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
461 B
TypeScript
12 lines
461 B
TypeScript
// Type definitions for markdown-draft-js 2.2
|
|
// Project: https://github.com/Rosey/markdown-draft-js#readme
|
|
// Definitions by: Yuri Drabik <https://github.com/yurist38>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.0
|
|
|
|
import { RawDraftContentState } from 'draft-js';
|
|
|
|
export function markdownToDraft(markdown: string): RawDraftContentState;
|
|
|
|
export function draftToMarkdown(RawDraft: RawDraftContentState): string;
|