The JavaScript Temporal API (tc39/proposal-temporal) is currently in stage #3.
Is an update of TypeScript required to use the Temporal API, or is it sufficient that the target environment (e.g., V8, Node.js, Deno.js, Bun.js) supports it so that it can also be used in TS?
For a proper Web API support, including type checking, TypeScript requires type definitions, which can be added manually by augmenting the global namespace, or one should wait for an official TS update.
A sample of manual type definition:
declare global {
interface Temporal {
//add necessary type definitions here
}
}