Commit 4d388c3
committed
docs(types): sync bundled type stubs to v0.15 API
- Add Deno FileInfo, NetAddr, ServeHandlerInfo, and stat stubs
- Add validated, contract, and guard type surfaces
- Drop ctx.state, getState, and setState type stubs
- Rework response helpers to download and empty
- Rework session types around session getter and setter
- Switch event types to discriminated EventBase union1 parent 9af1e7f commit 4d388c3
2 files changed
Lines changed: 956 additions & 1133 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
46 | 67 | | |
47 | 68 | | |
48 | 69 | | |
| |||
0 commit comments