adding return types to function declarations, see https://github.com/phetsims/chipper/issues/1288
adding return types to function declarations, see https://github.com/phetsims/chipper/issues/1288

phetsims/phet-core,phetsims/phet-core,phetsims/phet-core