TypeScript Jest Matchers functions are typed any

前端 未结 0 617
囚心锁ツ
囚心锁ツ 2021-01-07 11:38

Jest doesn\'t type some of its expect functions in Matchers. For example, it doesn\'t generate compiling errors for following code:

expect(\'123\').toEqual(12         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题