Dictionary term
TypeScript
Also called TS
Web/DevIntermediate
A superset of JavaScript that adds static types, checked before the code runs; the type annotations are removed so the output is plain JavaScript.
In plain English
JavaScript with labels that say what kind of data each thing holds, so many mistakes are caught before the app runs.
Analogy
Like a spell-checker for code that flags a wrong kind of value before you hit send.
Why it matters
Types catch bugs like passing a string where a number is expected, which matters most when your code handles API payloads and database records.
In practice
You type a Contact interface for GHL webhook payloads; the editor warns you when your code reads contact.phoneNumber but the field is actually phone.
Related terms
Sources
Browse all terms →Last verified
