Skip to content

Glossary: Building APIs with Node.js

extends

Also written: interface extends

TypeScript syntax where one interface builds on another. `OrderLine` extends `OrderItemInput` by adding `priceCents`.

Where the book teaches it

Related terms

as (type assertion)