1234567891011 |
- [
- {
- "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'.",
- "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",
- "category": 1,
- "code": 2345,
- "type": "semantic",
- "fileLine": "E:/LayaProject/samuraiflash-tt/src/Util/GameUtils.ts(290,63)"
- }
- ]
|