From 015f48d34469e3ee64eeab0d7526ef8d9943289f Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 7 Jul 2016 08:59:30 -0700 Subject: [PATCH] Fixing compilation with --noImplicitAny flag. --- react-flexr/react-flexr-tests.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-flexr/react-flexr-tests.tsx b/react-flexr/react-flexr-tests.tsx index 619687097d..f35a849512 100644 --- a/react-flexr/react-flexr-tests.tsx +++ b/react-flexr/react-flexr-tests.tsx @@ -76,7 +76,7 @@ class App1 extends React.Component { } const isMobile = /iP(hone|od)|Mobile/; -function textFxn(req, res) { +function textFxn(req: any, res: any): void { if ( isMobile.test( req.headers['user-agent'] ) ) { setBreakpoints(['palm', 'portable']) }