Skip to content

abstract since v1.0.0modifier

Marks an interface as non-instantiable. Abstract classes serve as templates and can only be used as base classes for inheritance via extends.

abstract<I>(interface: I) -> I

Parameters

Name Type Description
interface I The interface to be abstracted.

Returns

Type Description
I The interface itself; a passthrough return.