typescript, jest : SyntaxError: Cannot use import statement outside a module

后端 未结 0 1733
一整个雨季
一整个雨季 2021-02-07 03:42

basically i\'m starting to study tests and i\'m trying to test a function to check if a value is of type Class on jest

my isClass.spec.ts:



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