From 57a8440be5653204e2d4b1979455977e3edfa3fa Mon Sep 17 00:00:00 2001 From: yacut Date: Mon, 21 May 2018 11:37:05 +0200 Subject: [PATCH] add sample with return types --- docs/src/pages/guides/typescript/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/typescript/typescript.md b/docs/src/pages/guides/typescript/typescript.md index b28456419ef8ad..8f043d89170cb1 100644 --- a/docs/src/pages/guides/typescript/typescript.md +++ b/docs/src/pages/guides/typescript/typescript.md @@ -109,7 +109,7 @@ type Props = { someProp: string; }; -type PropsWithStyles = Props & WithStyles<"one" | "two">; +type PropsWithStyles = Props & WithStyles>; const Component: React.SFC = ({ classes,