1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/tsc/dts
Igor Zinkovsky b572abfcb3
feat(ext/cron) modify Deno.cron API to make handler arg last (#21225)
This PR changes the `Deno.cron` API:
* Marks the existing function as deprecated
* Introduces 2 new overloads, where the handler arg is always last:
```ts
Deno.cron(
  name: string,
  schedule: string,
  handler: () => Promise<void> | void,
)

Deno.cron(
  name: string,
  schedule: string,
  options?: { backoffSchedule?: number[]; signal?: AbortSignal },
  handler: () => Promise<void> | void,
)
```

This PR also fixes a bug, when other crons continue execution after one
of the crons was closed using `signal`.
2023-11-16 14:19:00 -08:00
..
lib.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.decorators.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.decorators.legacy.d.ts fix: upgrade to TypeScript 5.0.3 (#18532) 2023-03-31 17:09:04 +00:00
lib.deno.ns.d.ts chore: remove duplicate esnext.dispoable (#21184) 2023-11-13 22:43:12 +01:00
lib.deno.shared_globals.d.ts fix(dts): make globals available on globalThis (#19438) 2023-07-03 14:36:55 -04:00
lib.deno.unstable.d.ts feat(ext/cron) modify Deno.cron API to make handler arg last (#21225) 2023-11-16 14:19:00 -08:00
lib.deno.window.d.ts fix: define window.name (#20804) 2023-10-08 22:12:59 +00:00
lib.deno.worker.d.ts fix(dts): make globals available on globalThis (#19438) 2023-07-03 14:36:55 -04:00
lib.dom.asynciterable.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.dom.d.ts docs(event): fixlets to code comments (#20944) 2023-10-23 14:34:37 +02:00
lib.dom.extras.d.ts fix(dts): make globals available on globalThis (#19438) 2023-07-03 14:36:55 -04:00
lib.dom.iterable.d.ts feat: upgrade to TypeScript 5.1.6 (#19695) 2023-07-04 00:36:35 +02:00
lib.es5.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es6.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.collection.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2015.core.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2015.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.generator.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.iterable.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2015.promise.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.proxy.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.reflect.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.symbol.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2015.symbol.wellknown.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2016.array.include.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2016.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2016.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2017.date.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2017.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.object.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.sharedmemory.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2017.typedarrays.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.asyncgenerator.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.asynciterable.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.promise.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2018.regexp.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.array.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.object.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2019.symbol.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.bigint.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2020.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.date.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.number.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.promise.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.sharedmemory.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2020.symbol.wellknown.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.promise.d.ts fix(core/types): Promise.withResolvers: Unmark callback param as optional (#21085) 2023-11-05 23:40:56 +01:00
lib.es2021.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2021.weakref.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2022.array.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.error.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.intl.d.ts feat: upgrade to TypeScript 5.1.6 (#19695) 2023-07-04 00:36:35 +02:00
lib.es2022.object.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.regexp.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.sharedmemory.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2022.string.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.es2023.array.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.collection.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.es2023.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.esnext.array.d.ts feat: enable Array.fromAsync (#21048) 2023-11-01 22:25:18 +00:00
lib.esnext.d.ts fix: add missing Object.groupBy() and Map.groupBy() types (#21050) 2023-11-01 23:18:41 +00:00
lib.esnext.decorators.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.esnext.disposable.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00
lib.esnext.full.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.esnext.intl.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.esnext.object.d.ts fix: add missing Object.groupBy() and Map.groupBy() types (#21050) 2023-11-01 23:18:41 +00:00
lib.scripthost.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.webworker.d.ts docs(event): fixlets to code comments (#20944) 2023-10-23 14:34:37 +02:00
lib.webworker.importscripts.d.ts feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
lib.webworker.iterable.d.ts feat: upgrade to TypeScript 5.1.6 (#19695) 2023-07-04 00:36:35 +02:00
typescript.d.ts feat: TypeScript 5.2 (#20425) 2023-09-09 15:03:21 -04:00