Fixing compilation with --noImplicitAny flag.

This commit is contained in:
jeff
2016-07-07 08:59:30 -07:00
parent 7c4fef450c
commit 015f48d344
+1 -1
View File
@@ -76,7 +76,7 @@ class App1 extends React.Component<any, any> {
}
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'])
}