diff --git a/docs/walkthroughs/01-installing-slate.md b/docs/walkthroughs/01-installing-slate.md index efa20870e..7a8dc0ed8 100644 --- a/docs/walkthroughs/01-installing-slate.md +++ b/docs/walkthroughs/01-installing-slate.md @@ -69,7 +69,7 @@ declare module 'slate' { ```typescript // Also you must annotate `useState` and the editor's initial value. const App = () => { - const initialValue: CustomElement = [] + const initialValue: CustomElement[] = [] const [value, setValue] = useState(initialValue) return (