feat(type): extend (#2466)

Co-authored-by: Adam Hopkins <adam@amhopkins.com>
This commit is contained in:
Mary 2022-06-16 21:38:13 +09:00 committed by GitHub
parent a411bc06e3
commit 2f90a85df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ if TYPE_CHECKING: # no cov
from sanic_ext import Extend # type: ignore
from sanic_ext.extensions.base import Extension # type: ignore
except ImportError:
Extend = TypeVar("Extend") # type: ignore
Extend = TypeVar("Extend", Type) # type: ignore
if OS_IS_WINDOWS: # no cov