Skip to content

Commit

Permalink
ci: add typescript 4.8.x to matrix, and drop support 4.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
geekact committed Sep 21, 2022
1 parent 786c9b0 commit 0ff7c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
ts-version: [4.4.x, 4.5.x, 4.6.x, 4.7.x]
ts-version: [4.5.x, 4.6.x, 4.7.x, 4.8.x]
react-version: ['16.14.0', 16.x, 17.x, 18.x]
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/reactive/ObjectDeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ObjectDeps<T = any> implements Deps {
return this.model + '.' + this.deps.join('.');
}

start<T>(startState: T): T {
start<T extends Record<string, any>>(startState: T): T {
depsCollector.append(this);
return this.proxy(startState);
}
Expand Down

0 comments on commit 0ff7c4b

Please sign in to comment.