typescript
typescript
UK[ˈtaɪpskript]US[ˈtaɪpskript]
n
A programming language developed by Microsoft that is a strict syntactical superset of JavaScript, adding optional static typing.
n
A script or text produced using a typewriter.
Morpheme Breakdown
type
script
type
kind, print
script
writing
Etymology
The word 'typescript' is a modern compound formed from two classical elements. 'Type' originates from the Greek typos, meaning a blow or impression, which evolved in Latin to denote a figure or model, and later specifically referred to printed characters. 'Script' derives from the Latin scribere, meaning to write, with scriptum denoting the resulting written work. When combined in the late 19th century, the term literally meant "typewritten text," directly linking the mechanical action of typing to the produced document. In the 21st century, this logical construction was repurposed for a programming language, where 'type' refers to its system of data classification and 'script' to its nature as a scripting language, thus maintaining the core idea of a systematically written text.
Analysis
Structure: type (kind, print) + script (writing)
- type: From Latin typus (figure, image, form), from Greek typos (blow, impression, model). In this compound, it carries the sense of "printed characters" or "a particular kind."
- script: From Latin scriptum (a writing, something written), from scribere (to write). In this compound, it functions as the noun meaning "a written text."
Examples
The developer rewrote the JavaScript module in TypeScript to catch errors during compilation.
She submitted a neatly typed ten-page typescript of her thesis to the professor.
One of the key features of TypeScript is its support for interfaces and generics.