From aa48ab74736d5687c7acb58256c24fd647227c90 Mon Sep 17 00:00:00 2001 From: Dustin Hoffner Date: Tue, 23 Feb 2016 01:29:22 +0100 Subject: [PATCH] [docs] Fix return type of convertFromRaw (See #28) Closes #28 --- docs/APIReference-Data-Conversion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/APIReference-Data-Conversion.md b/docs/APIReference-Data-Conversion.md index 004fd96e64..ac40ca616a 100644 --- a/docs/APIReference-Data-Conversion.md +++ b/docs/APIReference-Data-Conversion.md @@ -29,10 +29,10 @@ objects. ### convertFromRaw ``` -convertFromRaw(rawState: RawDraftContentState): ContentState +convertFromRaw(rawState: RawDraftContentState): Array ``` -Given a raw state, convert it to `ContentState` object. This is useful when +Given a raw state, convert it to an array of `ContentBlock` objects. This is useful when restoring contents to use within a Draft editor. ### convertToRaw