TypeScript Export #
Export modules using export:
export interface <module> {
...
}
Note: I’m saying module, but I guess the proper term here is interface.
Extends #
extends can be added to the export to extend an interface.
export interface <module>
extends <another module that's inheriteed> (
... # the extending stuff to be added to the original module
)