Skip to content

Commit

Permalink
Merge pull request #162 from montifi/fix_component_preload_typescript…
Browse files Browse the repository at this point in the history
…_definition

fix: Update the UniversalComponent.preload TypeScript definition
  • Loading branch information
ScriptedAlchemy authored Dec 8, 2018
2 parents 83a82f4 + 97cef0e commit 3eeaa58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare module 'react-universal-component' {
type UniversalComponent<P> = React.StatelessComponent<
P & Partial<UniversalProps>
> & {
preload(): void;
preload(props?: P): void;
};

type Module<P> =
Expand Down

0 comments on commit 3eeaa58

Please sign in to comment.