1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -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" & { export type NativeTypedPointer<T extends PointerObject> = "pointer" & {
[brand]: T; [brand]: T;
}; };
/** @category FFI */
export type NativeTypedFunction<T extends UnsafeCallbackDefinition> = export type NativeTypedFunction<T extends UnsafeCallbackDefinition> =
& "function" & "function"
& { & {
@ -2247,7 +2248,9 @@ declare var WebSocketStream: {
* @category Temporal * @category Temporal
*/ */
declare namespace Temporal { declare namespace Temporal {
/** @category Temporal */
export type ComparisonResult = -1 | 0 | 1; export type ComparisonResult = -1 | 0 | 1;
/** @category Temporal */
export type RoundingMode = export type RoundingMode =
| "ceil" | "ceil"
| "floor" | "floor"
@ -4243,6 +4246,7 @@ declare namespace Temporal {
/** @category Intl */ /** @category Intl */
declare namespace Intl { declare namespace Intl {
/** @category Intl */
type Formattable = type Formattable =
| Date | Date
| Temporal.Instant | Temporal.Instant
@ -4253,6 +4257,7 @@ declare namespace Intl {
| Temporal.PlainYearMonth | Temporal.PlainYearMonth
| Temporal.PlainMonthDay; | Temporal.PlainMonthDay;
/** @category Intl */
interface DateTimeFormatRangePart { interface DateTimeFormatRangePart {
source: "shared" | "startRange" | "endRange"; source: "shared" | "startRange" | "endRange";
} }