-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Codebase Compiler FAQ
Nathan Shively-Sanders edited this page Sep 2, 2022
·
1 revision
getElementTypeOfArrayType(t) === numberType
getElementTypeOfArrayType
returns undefined if t
is not an array type.
Use isArrayType
or isArrayLikeType
if that's all you need to know.
Probably you return undefined
instead of a new or existin node, but look at src/compiler/transformers/ts.ts.
Deleting type annotations is its main job.
News
Debugging TypeScript
- Performance
- Performance-Tracing
- Debugging-Language-Service-in-VS-Code
- Getting-logs-from-TS-Server-in-VS-Code
- JavaScript-Language-Service-in-Visual-Studio
- Providing-Visual-Studio-Repro-Steps
Contributing to TypeScript
- Contributing to TypeScript
- TypeScript Design Goals
- Coding Guidelines
- Useful Links for TypeScript Issue Management
- Writing Good Design Proposals
- Compiler Repo Notes
- Deployment
Building Tools for TypeScript
- Architectural Overview
- Using the Compiler API
- Using the Language Service API
- Standalone Server (tsserver)
- TypeScript MSBuild In Depth
- Debugging Language Service in VS Code
- Writing a Language Service Plugin
- Docker Quickstart
FAQs
The Main Repo