feat(type): extend (#2466)
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
This commit is contained in:
parent
a411bc06e3
commit
2f90a85df1
|
@ -97,7 +97,7 @@ if TYPE_CHECKING: # no cov
|
||||||
from sanic_ext import Extend # type: ignore
|
from sanic_ext import Extend # type: ignore
|
||||||
from sanic_ext.extensions.base import Extension # type: ignore
|
from sanic_ext.extensions.base import Extension # type: ignore
|
||||||
except ImportError:
|
except ImportError:
|
||||||
Extend = TypeVar("Extend") # type: ignore
|
Extend = TypeVar("Extend", Type) # type: ignore
|
||||||
|
|
||||||
|
|
||||||
if OS_IS_WINDOWS: # no cov
|
if OS_IS_WINDOWS: # no cov
|
||||||
|
|
Loading…
Reference in New Issue
Block a user