fix: move extension file declarations to cli/tsc/dts (#28180)

This commits moves all `.d.ts` files from `ext/*` to `cli/tsc/dts`.

Due to TSC snapshot removal, `cargo publish` is now erroring out,
unable to find the declaration files. These files were moved to
"cli/tsc/dts", because it's much easier than keeping them in 
extension directories, while still providing them compressed 
or uncompressed depending on the build type.
This commit is contained in:
Bartek Iwańczuk 2025-02-19 02:53:21 +01:00 committed by GitHub
parent e03c990493
commit e4b8fa5f4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 67 additions and 158 deletions

View file

@ -4,9 +4,9 @@
/// <reference path="../../core/lib.deno_core.d.ts" />
/// <reference path="../../core/internal.d.ts" />
/// <reference path="../webidl/internal.d.ts" />
/// <reference path="../fetch/lib.deno_fetch.d.ts" />
/// <reference path="../../cli/tsc/dts/lib.deno_fetch.d.ts" />
/// <reference path="../web/internal.d.ts" />
/// <reference path="../web/lib.deno_web.d.ts" />
/// <reference path="../../cli/tsc/dts/lib.deno_web.d.ts" />
/// <reference lib="esnext" />
import { core, primordials } from "ext:core/mod.js";