/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/bundle/declaration/__test__.jsonc
41 строка
976 B
Bartek Iwańczuk
feat(bundle): add --declaration flag to generate rolled-up .d.ts files (#33838)
14 июн 2026, 17:21
Не верифицирован
14 июн 2026, 17:21
229ddc0
Код
Авторство
О чём код?
{ "tempDir": true, "tests": { "output_flag": { "steps": [ { "args": "bundle --output=out.js --declaration mod.ts", "output": "[WILDCARD]" }, { "args": "run --no-lock --no-config --allow-read check_dts.ts out.d.ts", "output": "ok\n" } ] }, "outdir_flag": { "steps": [ { "args": "bundle --outdir=dist --declaration mod.ts", "output": "[WILDCARD]" }, { "args": "run --no-lock --no-config --allow-read check_dts.ts dist/mod.d.ts", "output": "ok\n" } ] }, "wildcard_and_mts": { "steps": [ { "args": "bundle --output=barrel_out.js --declaration barrel_entry.ts", "output": "[WILDCARD]" }, { "args": "run --no-lock --no-config --allow-read check_barrel.ts barrel_out.d.ts", "output": "ok\n" } ] } } }