mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Fixing compilation with --noImplicitAny flag.
This commit is contained in:
@@ -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'])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user