From c3eb4c40eadbb0a448f35f429fa422173f75a5d3 Mon Sep 17 00:00:00 2001 From: geekact Date: Wed, 21 Sep 2022 16:20:25 +0800 Subject: [PATCH] ci: add typescript 4.8 to matrix --- .github/workflows/test.yml | 2 +- src/reactive/ObjectDeps.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e84925..da11a5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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.4.x, 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: diff --git a/src/reactive/ObjectDeps.ts b/src/reactive/ObjectDeps.ts index 400df2e..4037e9b 100644 --- a/src/reactive/ObjectDeps.ts +++ b/src/reactive/ObjectDeps.ts @@ -35,7 +35,7 @@ export class ObjectDeps implements Deps { return this.model + '.' + this.deps.join('.'); } - start(startState: T): T { + start>(startState: T): T { depsCollector.append(this); return this.proxy(startState); }