Typescript &引用;TS1005:'';预期的。”;,错误

Typescript &引用;TS1005:'';预期的。”;,错误,typescript,Typescript,我正在使用jest和快速签入vscode编写一个小型测试,使用Typescript 2.9.2,我在最后一行得到错误“TS1005:”、“expected.”和[TS],“expected”。 也许我遗漏了什么,但这段代码似乎没有遗漏什么 test("up", () => { fc.assert(fc.property(fc.integer(), (a) => { const currentCount = initialState.count

我正在使用jest和快速签入vscode编写一个小型测试,使用Typescript 2.9.2,我在最后一行得到错误“TS1005:”、“expected.”和[TS],“expected”。 也许我遗漏了什么,但这段代码似乎没有遗漏什么

test("up", () => {
    fc.assert(fc.property(fc.integer(), (a) => {
        const currentCount = initialState.count
        Actions.up(a)(initialState)
        expect(initialState.count).toEqual(currentCount + a)
    })
})
你知道我为什么根据上述代码收到此错误消息吗?

谢谢..

你没有错过
fc.assert
调用的右括号吗?你的
fc.assert
调用没有右括号。哈!真不敢相信我居然错过了。谢谢各位。。。。