React语法检查没效果

#1
import React,{Component} from 'react';
import ReactDOM from 'react-dom';
import Thead from './head';
import Tbody from './body';
import PropTypes from 'prop-types';

export default class Excel extends Component{

    render(){
      return(
        <table>
            <Thead headers={this.props.headers}/>
            <Tbody data={this.props.data}/>
        </table>

      );
    }
}

Excel.propTypes={
  headers:PropTypes.bool,
  data:PropTypes.bool
};

我渲染的时候输入的headers和data是数组,但是网页没有报错,还正常运行了,为啥类型检查没效果啊