0759f9ffbc0116528c1223963edc7fe97bc4abdb 1.2 KB

1234567891011
  1. [
  2. {
  3. "flatMessage": "Argument of type 'Vector4' is not assignable to parameter of type 'Vector3'.\n Property 'toDefault' is missing in type 'Vector4' but required in type 'Vector3'.",
  4. "formatted": "\u001b[96m../../../../LayaProject/samuraiflash-tt/src/Util/GameUtils.ts\u001b[0m:\u001b[93m290\u001b[0m:\u001b[93m63\u001b[0m - \u001b[91merror\u001b[0m\u001b[90m TS2345: \u001b[0mArgument of type 'Vector4' is not assignable to parameter of type 'Vector3'.\r\n Property 'toDefault' is missing in type 'Vector4' but required in type 'Vector3'.\r\n\r\n\u001b[7m290\u001b[0m SceneManager.maincamera.worldToViewportPoint(_vector3,viewpos);\r\n\u001b[7m \u001b[0m \u001b[91m ~~~~~~~\u001b[0m\r\n\r\n \u001b[96m../../../../LayaProject/samuraiflash-tt/libs/LayaAir.d.ts\u001b[0m:\u001b[93m13887\u001b[0m:\u001b[93m3\u001b[0m\r\n \u001b[7m13887\u001b[0m \ttoDefault():void;\r\n \u001b[7m \u001b[0m \u001b[96m \t~~~~~~~~~\u001b[0m\r\n 'toDefault' is declared here.\r\n",
  5. "category": 1,
  6. "code": 2345,
  7. "type": "semantic",
  8. "fileLine": "E:/LayaProject/samuraiflash-tt/src/Util/GameUtils.ts(290,63)"
  9. }
  10. ]