Fixed type check for TMenuItem, see https://github.com/phetsims/phet-io/issues/1027
Fixed type check for TMenuItem, see https://github.com/phetsims/phet-io/issues/1027

phetsims/sun,phetsims/sun,phetsims/sun