Fix Compile Errors

eqeqeqRule had minor compile problems and chai.d.ts was using bool type
which is deprecated.