npm pyright 1.1.47
Published 1.1.47

latest releases: 1.1.365, 1.1.364, 1.1.363...
3 years ago

Enhancement: Improved support for type aliases, especially those with generic parameters. Type alias names are now tracked and used within printed type names.

Bug Fix: Fixed recent regression in CLI that resulted in unintended verbose logging output.

Bug Fix: Added minimum node version to package.json to prevent installation of pyright CLI on incompatible versions of node.

Enhancement: Added code to better handle the obsolete "<>" operator from Python 2 - including a better error message and better parse recovery.

Enhancement: Added special-case handling of 'NoReturn' type to allow Never type to be assigned to it. This can be used to verify exhaustive type narrowing.

Bug Fix: Added code to differentiate between Protocol symbol in typing.pyi versus typing_extensions.pyi. The latter can be used on older versions of Python.

Enhancement: Changed activation events to remove glob path for pyrightconfig.json, which speeds up extension activation on large projects. Added support for mspythonconfig.json

Don't miss a new pyright release

NewReleases is sending notifications on new releases.