mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Fix draftjs parmater
This commit is contained in:
2
draft-js/index.d.ts
vendored
2
draft-js/index.d.ts
vendored
@@ -458,7 +458,7 @@ declare namespace Draft {
|
||||
entityMap: { [key: string]: RawDraftEntity };
|
||||
}
|
||||
|
||||
function convertFromHTMLtoContentBlocks(html: string, DOMBuilder: Function, blockRenderMap?: DraftBlockRenderMap): Array<ContentBlock>;
|
||||
function convertFromHTMLtoContentBlocks(html: string, DOMBuilder?: Function, blockRenderMap?: DraftBlockRenderMap): Array<ContentBlock>;
|
||||
function convertFromRawToDraftState(rawState: RawDraftContentState): ContentState;
|
||||
function convertFromDraftStateToRaw(contentState: ContentState): RawDraftContentState;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user