Skip to content

Commit

Permalink
Typescript upgrade (#236)
Browse files Browse the repository at this point in the history
* update typescript to 4.9.5

* add node 22 build
  • Loading branch information
emielb authored May 31, 2024
1 parent 424fe67 commit e548c3d
Show file tree
Hide file tree
Showing 6 changed files with 2,164 additions and 6,025 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion extensions/sherlock-utils/src/derivable-cache.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ describe('sherlock-utils/derivableCache', () => {
});

class ImmutableMap<K, V> implements MapImplementation<K, V> {
private map = immutable.Map<object, V>();
private map = immutable.Map<immutable.FromJS<K>, V>();
set(key: K, value: V) { this.map = this.map.set(immutable.fromJS(key), value); }
delete(key: K) { this.map = this.map.delete(immutable.fromJS(key)); }
get(key: K) { return this.map.get(immutable.fromJS(key)); }
Expand Down
Loading

0 comments on commit e548c3d

Please sign in to comment.