/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/bundle/declaration/lib.ts
16 строк
299 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
Код
Авторство
О чём код?
import type { Config } from "./types.ts"; export class Client { #config: Config; constructor(config: Config) { this.#config = config; } getTimeout(): number { return this.#config.timeout; } } export function createClient(config: Config): Client { return new Client(config); }