W3cubDocs

/Deno 2

deno types

Command line usage:
deno types [OPTIONS]

Print runtime TypeScript declarations.

deno types > lib.deno.d.ts

The declaration file could be saved and used for typing information.


© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/cli/types