From 081c004d033a1a111f6ff2cf8f9b0993358d6f26 Mon Sep 17 00:00:00 2001 From: Oden Date: Mon, 19 Jun 2017 00:28:21 -0700 Subject: [PATCH] Fix Map loader docs. --- types/react-loadable/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-loadable/index.d.ts b/types/react-loadable/index.d.ts index f6c0cf5fde..d456f4e085 100644 --- a/types/react-loadable/index.d.ts +++ b/types/react-loadable/index.d.ts @@ -72,7 +72,7 @@ export interface OptionsWithRender extends Common export interface OptionsWithMap extends CommonOptions { /** - * Function returning a promise which returns an object to be passed to `render` on success. + * An object containing functions which return promises, which resolve to an object to be passed to `render` on success. */ loader: { [P in keyof Exports]: () => Promise