1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00

chore: add missing @category tags to runtime APIs (#22486)

This commit is contained in:
Asher Gomez 2024-02-20 13:49:33 +11:00 committed by GitHub
parent ef43d51497
commit 123653a01a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,6 +125,7 @@ declare namespace Deno {
export type NativeTypedPointer<T extends PointerObject> = "pointer" & {
[brand]: T;
};
/** @category FFI */
export type NativeTypedFunction<T extends UnsafeCallbackDefinition> =
& "function"
& {
@ -2247,7 +2248,9 @@ declare var WebSocketStream: {
* @category Temporal
*/
declare namespace Temporal {
/** @category Temporal */
export type ComparisonResult = -1 | 0 | 1;
/** @category Temporal */
export type RoundingMode =
| "ceil"
| "floor"
@ -4243,6 +4246,7 @@ declare namespace Temporal {
/** @category Intl */
declare namespace Intl {
/** @category Intl */
type Formattable =
| Date
| Temporal.Instant
@ -4253,6 +4257,7 @@ declare namespace Intl {
| Temporal.PlainYearMonth
| Temporal.PlainMonthDay;
/** @category Intl */
interface DateTimeFormatRangePart {
source: "shared" | "startRange" | "endRange";
}