PGzxc

纸上得来终觉浅 绝知此事要躬行

一 问题概述

  1. 'params' is possibly 'undefined'. <ArkTSCheck>
  2. Not all code paths return a value. <ArkTSCheck>
  3. Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)
  4. Argument of type 'Tag[]' is not assignable to parameter of type 'string'.
  5. Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)
  6. Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals) <ArkTSCheck>
  7. Type 'null' is not assignable to type 'UserData'. <ArkTSCheck>
  8. try catch报错
  9. 传值null问题
  10. Property 'searchEvent' has no initializer and is not definitely assigned in the constructor
阅读全文 »
0%