Factor out isTypeScript, see https://github.com/phetsims/chipper/issues/1081
Factor out isTypeScript, see https://github.com/phetsims/chipper/issues/1081

phetsims/chipper,phetsims/chipper,phetsims/chipper