typescript_reserved_words_-_typescript_keywords

TypeScript Reserved Words - TypeScript Keywords

Reserved Words in TypeScript

  • break - Terminates the current loop, switch, or label statement.
  • case - Marks a block of statements to be executed in a switch statement.
  • catch - Catches errors in try…catch statements.
  • class - Declares a class.
  • const - Declares a constant variable.
  • continue - Skips the current iteration of a loop and continues with the next iteration.
  • debugger - Stops the execution of JavaScript and calls (if available) the debugging function.
  • default - Specifies the default block of code in a switch statement.
  • delete - Deletes an object's property.
  • do - Executes a block of statements while a condition is true.
  • else - Specifies a block of code to be executed if a condition is false.
  • enum - Declares an enumeration type.
  • export - Exports functions, objects, or primitive values from a file or module.
  • extends - Extends a class for inheritance.
  • false - Represents the false value.
  • finally - Specifies a block of code to be executed after try and catch blocks.
  • for - Creates a loop that consists of three optional expressions.
  • function - Declares a function.
  • if - Executes a block of code if a specified condition is true.
  • import - Imports functions, objects, or primitive values from a file or module.
  • in - Checks if a specified property is in an object.
  • instanceof - Checks if an object is an instance of a specified object type.
  • new - Creates new instances of user-defined objects.
  • null - Represents the null value.
  • return - Exits a function and specifies the value to be returned.
  • super - Calls methods on an object's parent.
  • switch - Evaluates an expression and executes the corresponding case.
  • this - Refers to the current object.
  • throw - Throws an exception.
  • true - Represents the true value.
  • try - Implements error handling to a block of code.
  • typeof - Returns the type of a variable, object, function, or expression.
  • var - Declares a variable.
  • void - Specifies that a function does not return a value.
  • while - Creates a loop that executes a specified statement while a condition is true.
  • with - Extends the scope chain for a statement.

You can find more details about each reserved word in the TypeScript documentationhttps://www.typescriptlang.org/docs


Snippet from Wikipedia: TypeScript

TypeScript is a free and open-source high-level programming language developed by Microsoft that adds static typing with optional type annotations to JavaScript. It is designed for the development of large applications and transpiles to JavaScript. Because TypeScript is a superset of JavaScript, all JavaScript programs are syntactically valid TypeScript, but they can fail to type-check for safety reasons.

TypeScript may be used to develop JavaScript applications for both client-side and server-side execution (as with Node.js, Deno or Bun). Multiple options are available for transpilation. The default TypeScript Compiler can be used, or the Babel compiler can be invoked to convert TypeScript to JavaScript.

TypeScript supports definition files that can contain type information of existing JavaScript libraries, much like C++ header files can describe the structure of existing object files. This enables other programs to use the values defined in the files as if they were statically typed TypeScript entities. There are third-party header files for popular libraries such as jQuery, MongoDB, and D3.js. TypeScript headers for the Node.js library modules are also available, allowing development of Node.js programs within TypeScript.

The TypeScript compiler is itself written in TypeScript and compiled to JavaScript. It is licensed under the Apache License 2.0. Anders Hejlsberg, lead architect of C# and creator of Delphi and Turbo Pascal, has worked on the development of TypeScript.

Research More

TypeScript on the Cloud

TypeScript on Containers

TypeScript Courses

Fair Use Source

TypeScript: TypeScript Glossary, TypeScript Best Practices, Web Development Best Practices, JavaScript Best Practices, TypeScript Fundamentals, TypeScript Inventor - TypeScript Language Designer: Anders Hejlsberg of Microsoft on October 1, 2012; TypeScript Keywords, TypeScript Built-In Data Types, TypeScript Data Structures - TypeScript Algorithms, TypeScript Syntax, TypeScript on Linux, TypeScript on macOS, TypeScript on Windows, TypeScript on Android, TypeScript on iOS, TypeScript Installation, TypeScript Containerization (TypeScript with Docker, TypeScript with Podman, TypeScript and Kubernetes), TypeScript OOP - TypeScript Design Patterns, Clean TypeScript - TypeScript Style Guide, TypeScript Best Practices - TypeScript BDD, Web Browser, Web Development, HTML-CSS, TypeScript Frameworks (Angular), JavaScript Libraries (React.js with TypeScript, Vue.js with TypeScript, jQuery with TypeScript), TypeScript on the Server (TypeScript with Node.js, TypeScript with Deno, TypeScript with Express.js), TypeScript Compiler (tsc, tsconfig.json), TypeScript Transpiler (Transpile TypeScript into JavaScript), Babel and TypeScript, TypeScript Package Management, NPM and TypeScript, NVM and TypeScript, Yarn Package Manager and TypeScript, TypeScript IDEs (Visual Studio Code, Visual Studio, JetBrains WebStorm), TypeScript Development Tools, TypeScript Linter, TypeScript Debugging (Chrome DevTools, JavaScript Source Maps), TypeScript Testing (TypeScript TDD, Selenium, Jest, Mocha.js, Jasmine, Tape Testing (tap-producing test harness for Node.js and browsers), Supertest, React Testing Library, Enzyme.js React Testing, Angular TestBed), TypeScript DevOps - TypeScript SRE, TypeScript Data Science - TypeScript DataOps, TypeScript Machine Learning, TypeScript Deep Learning, Functional TypeScript, TypeScript Concurrency (WebAssembly - WASM) - TypeScript Async (TypeScript Await, TypeScript Promises, TypeScript Workers - Web Workers, Service Workers, Browser Main Thread), TypeScript Concurrency, TypeScript History, TypeScript Bibliography, Manning TypeScript Series, TypeScript Glossary, TypeScript T, TypeScript Courses, TypeScript Standard Library, TypeScript Libraries, TypeScript Frameworks (Angular), TypeScript Research, JavaScript, TypeScript GitHub, Written in TypeScript, TypeScript Popularity, TypeScript Awesome, TypeScript Versions. (navbar_typescript - see also navbar_javascript, navbar_javascript_libraries, navbar_typescript_libraries, navbar_typescript_versions, navbar_typescript_standard_library, navbar_typescript_libraries, navbar_typescript_reserved_words, navbar_typescript_functional, navbar_typescript_concurrency, navbar_typescript_async, navbar_javascript_standard_library, navbar_react.js, navbar_angular, navbar_vue, navbar_javascript_standard_library, navbar_web_development)

Reserved Words: Programming Language Keywords, aka Reserved Identifiers. (navbar_reserved_words - see also navbar_programming)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


typescript_reserved_words_-_typescript_keywords.txt · Last modified: 2024/04/28 03:12 (external edit)