mirror of
https://github.com/denoland/deno.git
synced 2025-09-24 19:32:30 +00:00
Enable TS strict mode by default (#3899)
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
This commit is contained in:
parent
852823fa50
commit
90125566bb
56 changed files with 314 additions and 179 deletions
|
@ -38,7 +38,7 @@ test(async function serveFile(): Promise<void> {
|
|||
assert(res.headers.has("access-control-allow-origin"));
|
||||
assert(res.headers.has("access-control-allow-headers"));
|
||||
assert(res.headers.has("content-type"));
|
||||
assert(res.headers.get("content-type").includes("charset=utf-8"));
|
||||
assert(res.headers.get("content-type")!.includes("charset=utf-8"));
|
||||
const downloadedFile = await res.text();
|
||||
const localFile = new TextDecoder().decode(
|
||||
await Deno.readFile("README.md")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue