mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-10-29 08:56:58 +08:00
Most synchronous API round trips are dominated by the scheduler wakeup latency of blocking pipe reads rather than by the work done on either side. The sync client now polls its non-blocking stdout pipe for up to responsePollMicroseconds (default 100) before switching back to a blocking read. The server can likewise poll for the next request when the client sets serverRequestPollMicroseconds (--requestPollMicroseconds, default 0), at a larger CPU cost since it polls while the client works between requests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
TypeScript (Native Preview)
This package provides a preview build of the native port of TypeScript. Not all features are implemented yet.
This package is intended for testing and experimentation. It will eventually be replaced by the official TypeScript package.
Usage
For TypeScript 7.0 RC and later, use tsc just like for TypeScript 6.0.
For other builds, use the tsgo command just like you would use tsc:
npx tsgo --help
Issues and Feedback
The native port of TypeScript is still in progress. We expect many gaps, but are seeking experimentation and feedback. If you have found differences that are not yet known, we encourage you to leave feedback on the issue tracker.