Skip to content

Commit

Permalink
ts fixes
Browse files Browse the repository at this point in the history
- typescript now knows about getSetCookie method on Headers prototype
  • Loading branch information
krutoo committed Nov 20, 2023
1 parent 37de6fb commit f7d0779
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@
"@babel/preset-typescript": "^7.23.2",
"fs-extra": "^11.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
"typescript": "^5.2.2"
}
}
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"compilerOptions": {
"lib": ["DOM"],
"target": "ES2021",
"lib": ["DOM", "DOM.Iterable"],
"target": "ES2022",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"moduleResolution": "nodenext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noUncheckedIndexedAccess": true
}
}

0 comments on commit f7d0779

Please sign in to comment.