error TS2339:Property ‘length’ does not exist on type ‘object’

preface
Every time you reopen the project, startup reports the following error.

because every time the console starts up, it will report the error :Property ‘length’ does not exist on type ‘object ‘, but it has not been solved.
Error:

Solution:
Here the response is given to the policy, but it is still response.length when used below. There is no property “length”

Read More: