You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the extends syntax doesn't accept interface type aliases.
Steps to reproduce
interface IDFOutputT<T> {}
type IDFNumberOutput = IDFOutputT<DFNumberType>;
class DFNumberValue implements IDFNumberOutput {}
ERROR TS2422: A class can only implement an interface.
class DFNumberValue implements IDFNumberOutput {
~~~~~~~~~~~~~~~
AssemblyScript version
v0.24.1
The text was updated successfully, but these errors were encountered:
Bug description
Seems like the
extends
syntax doesn't accept interfacetype
aliases.Steps to reproduce
AssemblyScript version
v0.24.1
The text was updated successfully, but these errors were encountered: