mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
add constants to exports (#20304)
This commit is contained in:
14
types/draft-js/index.d.ts
vendored
14
types/draft-js/index.d.ts
vendored
@@ -938,6 +938,12 @@ import genKey = Draft.Model.Keys.generateRandomKey;
|
||||
import getDefaultKeyBinding = Draft.Component.Utils.getDefaultKeyBinding;
|
||||
import getVisibleSelectionRect = Draft.Component.Selection.getVisibleSelectionRect;
|
||||
|
||||
import DraftEditorCommand = Draft.Model.Constants.DraftEditorCommand;
|
||||
import DraftDragType = Draft.Model.Constants.DraftDragType;
|
||||
import DraftBlockType = Draft.Model.Constants.DraftBlockType;
|
||||
import DraftRemovalDirection = Draft.Model.Constants.DraftRemovalDirection;
|
||||
import DraftHandleValue = Draft.Model.Constants.DraftHandleValue;
|
||||
|
||||
export {
|
||||
Editor,
|
||||
EditorProps,
|
||||
@@ -970,5 +976,11 @@ export {
|
||||
|
||||
genKey,
|
||||
getDefaultKeyBinding,
|
||||
getVisibleSelectionRect
|
||||
getVisibleSelectionRect,
|
||||
|
||||
DraftEditorCommand,
|
||||
DraftDragType,
|
||||
DraftBlockType,
|
||||
DraftRemovalDirection,
|
||||
DraftHandleValue
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user