Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Adding back the correct type for ContentBlock
Browse files Browse the repository at this point in the history
- While landing "" I had to change the type of ContentBlock key from DraftBlockType to string to avoid internal conflicts, but due to the new less strict typing we can revert it back
  • Loading branch information
mitermayer committed Nov 1, 2017
1 parent 6459f32 commit be51e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/immutable/ContentBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const {List, Map, OrderedSet, Record, Repeat} = Immutable;
const EMPTY_SET = OrderedSet();

type ContentBlockConfig = {
key?: string,
key?: DraftBlockType,
type?: string,
text?: string,
characterList?: List<CharacterMetadata>,
Expand Down

0 comments on commit be51e0a

Please sign in to comment.