Why i am getting this error

image

why i am getting this error and how to solve this

Does your code work?

The message is from VSCode’s type hinting system, which doesn’t know about Select2. You can safely ignore it.