eduter / screeps-jest

Helper functions and environment for unit testing your Screeps code with Jest.
14 stars 4 forks source link

Project fails to compile above TypeScript 3.8.x #7

Closed brisberg closed 4 years ago

brisberg commented 4 years ago

Upgrading the version of TypeScript used to compile this project past 3.8.x results in the following error on yarn build:

$ tsc
src/mocking.ts:141:13 - error TS2589: Type instantiation is excessively deep and possibly infinite.

141         id: this.id,
                ~~~~~~~

Found 1 error.

Reproduction steps:

git checkout master
yarn install
yarn add -D typescript@3.9.6
yarn build
github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: