diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-23 15:18:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 19:18:52 +0000 |
commit | 33f169beb90814b7f2f62a8c0e3990722ae3db4c (patch) | |
tree | 9877fb3b7dcbfd4482afc530467c072e38601f55 /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | e1c8d2755e23182875b8fefeb558e603dd981418 (diff) |
chore: add code generation for @types/deno (#25545)
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index f44bf9a02..3cca95cdf 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -10,7 +10,7 @@ * * @category Platform */ -declare interface ImportMeta { +interface ImportMeta { /** A string representation of the fully qualified module URL. When the * module is loaded locally, the value will be a file URL (e.g. * `file:///path/module.ts`). @@ -89,7 +89,7 @@ declare interface ImportMeta { * * @category Performance */ -declare interface Performance { +interface Performance { /** Stores a timestamp with the associated name (a "mark"). */ mark(markName: string, options?: PerformanceMarkOptions): PerformanceMark; @@ -109,7 +109,7 @@ declare interface Performance { * * @category Performance */ -declare interface PerformanceMarkOptions { +interface PerformanceMarkOptions { /** Metadata to be included in the mark. */ // deno-lint-ignore no-explicit-any detail?: any; @@ -126,7 +126,7 @@ declare interface PerformanceMarkOptions { * * @category Performance */ -declare interface PerformanceMeasureOptions { +interface PerformanceMeasureOptions { /** Metadata to be included in the measure. */ // deno-lint-ignore no-explicit-any detail?: any; @@ -317,6 +317,7 @@ declare namespace Deno { * * @category Errors */ export class NotADirectory extends Error {} + /** * Raised when trying to perform an operation while the relevant Deno * permission (like `--allow-read`) has not been granted. @@ -326,6 +327,8 @@ declare namespace Deno { * * @category Errors */ export class NotCapable extends Error {} + + export {}; // only export exports } /** The current process ID of this instance of the Deno CLI. @@ -5407,7 +5410,9 @@ declare namespace Deno { * * @category FFI */ - export type NativeStructType = { readonly struct: readonly NativeType[] }; + export interface NativeStructType { + readonly struct: readonly NativeType[]; + } /** * @category FFI @@ -5700,7 +5705,9 @@ declare namespace Deno { * * @category FFI */ - export type PointerObject<T = unknown> = { [brand]: T }; + export interface PointerObject<T = unknown> { + [brand]: T; + } /** Pointers are represented either with a {@linkcode PointerObject} * object or a `null` if the pointer is null. @@ -6137,4 +6144,6 @@ declare namespace Deno { | CreateHttpClientOptions | (CreateHttpClientOptions & TlsCertifiedKeyPem), ): HttpClient; + + export {}; // only export exports } |