diff --git a/index.d.ts b/index.d.ts index 02fd8b4..aac6b3d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,7 +4,7 @@ import * as React from 'react'; * The configuration for an asynchronous component. */ export interface Configuration
{
- resolve: () => Promise ): React.ComponentClass ;
+export function asyncComponent (config: Configuration ): React.ComponentType ;
/**
* Create a context for the asynchronous component resolving module.