[python] add more type hints in basic.py (#5255)
[python] add more type hints in basic.py (#5255)

* [python] add more type hints in basic.py

* Update python-package/lightgbm/basic.py

Co-authored-by: Nikita Titov <31eaea17affb14e78210388fc0bace3c2fd52ddc@mail.ru>

Co-authored-by: Nikita Titov <31eaea17affb14e78210388fc0bace3c2fd52ddc@mail.ru>
henry0312/LightGBM,henry0312/LightGBM,henry0312/LightGBM,microsoft/LightGBM,microsoft/LightGBM,microsoft/LightGBM,henry0312/LightGBM,henry0312/LightGBM,microsoft/LightGBM,microsoft/LightGBM