Skip to content

Commit

Permalink
Merge pull request #1870 from cloudflare/bcoll/jsrpc-types
Browse files Browse the repository at this point in the history
JSRPC: Add TypeScript types
  • Loading branch information
mrbbot authored Mar 25, 2024
2 parents 7c33ab4 + e57a4b2 commit af35f1e
Show file tree
Hide file tree
Showing 29 changed files with 1,959 additions and 649 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ package-lock.json
/workerd-*

/docs/api

*.tsbuildinfo
1 change: 1 addition & 0 deletions build/wd_ts_type_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def wd_ts_type_test(src, **kwargs):
data = [
"//types:types",
"//types:test/types/tsconfig.json",
"//:node_modules/expect-type",
src,
],
)
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@
},
"dependencies": {
"capnp-ts": "^0.7.0",
"prettier": "^2.7.1",
"typescript": "~4.7.4"
"prettier": "^3.2.5",
"typescript": "~5.4.2"
},
"devDependencies": {
"@bazel/bazelisk": "~1.12.1",
"@types/debug": "^4.1.10",
"@types/node": "^20.8.10",
"@types/prettier": "^2.7.1",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"capnpc-ts": "^0.7.0",
"esbuild": "^0.15.10",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1"
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"expect-type": "^0.18.0"
},
"pnpm": {
"overrides": {
"capnpc-ts>typescript": "4.2.4"
}
}
}
Loading

0 comments on commit af35f1e

Please sign in to comment.