mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
Fix Map loader docs.
This commit is contained in:
Vendored
+1
-1
@@ -72,7 +72,7 @@ export interface OptionsWithRender<Props, Exports extends object> extends Common
|
||||
|
||||
export interface OptionsWithMap<Props, Exports extends { [key: string]: any }> 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<Exports[P]>
|
||||
|
||||
Reference in New Issue
Block a user