The webstorm ts interface indicates an error, but the ts itself is correct.

clipboard.png

clipboard.png

The

code works fine. The interface is clearly defined, but why is it initialized like this


because you declare a page, but you only assign an object. If you have learned weak typing, you will know that field consistency does not mean type consistency
you should change this Page to class and then new out

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e30d76-58674.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e30d76-58674.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?