Skip to content

Commit

Permalink
Upgrade TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed Dec 16, 2020
1 parent ae104e3 commit a5536c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
},
"homepage": "https://turbo.hotwire.dev",
"devDependencies": {
"intern": "^4.9.0",
"rollup": "^2.35.1",
"@rollup/plugin-node-resolve": "9.0.0",
"@rollup/plugin-typescript": "^6.0.0",
"intern": "^4.9.0",
"rollup": "^2.35.1",
"tslib": "^2.0.3",
"typescript": "^3.8.3"
"typescript": "^4.1.3"
},
"scripts": {
"clean": "rm -fr dist",
Expand Down
2 changes: 1 addition & 1 deletion src/frame_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class FrameController implements FetchRequestDelegate, FormInterceptorDel
const location = Location.wrap(url)
const request = new FetchRequest(this, FetchMethod.get, location)

return new Promise(resolve => {
return new Promise<void>(resolve => {
this.resolveVisitPromise = () => {
this.resolveVisitPromise = () => {}
resolve()
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1535,10 +1535,10 @@ type-is@~1.6.17, type-is@~1.6.18:
media-typer "0.3.0"
mime-types "~2.1.24"

typescript@^3.8.3:
version "3.9.7"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
typescript@^4.1.3:
version "4.1.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==

uglify-js@^3.1.4:
version "3.12.1"
Expand Down

0 comments on commit a5536c3

Please sign in to comment.