You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -43,4 +43,15 @@ Follow below steps to run tests locally.
43
43
2.`npm run build:lib`
44
44
3.`npm run build:package`
45
45
4.`npm run install` in tests directory
46
-
5.`npm test` in tests directory
46
+
5.`npm test` in tests directory
47
+
48
+
## Upgrading TypeScript version
49
+
50
+
Below is the procedure to upgrade TypeScript version.
51
+
52
+
1. Update `typescript` dependency in `package.json` and `tests/package.json`
53
+
2. Update the git submodule in `TypeScript` directory (use the git tag of target version)
54
+
3. Build this library (see 'Commiting Build Artifacts' section)
55
+
4. Review the diff in `generated/lib.*.d.ts` files. This represents the diff of TypeScript library between the previous version and the target version. If any change is undesirable (e.g. contains a new `any`), implement a fix in `lib/` directory (maybe as a separate task).
0 commit comments