tsutils icon indicating copy to clipboard operation
tsutils copied to clipboard

Allow tslib v2 as peer dep

Open huozhi opened this issue 4 years ago • 1 comments

I'm upgrading typescript-eslint with typescript v4, but the tslib under tsutils is always installed as 1.x which is unable to work with typescript v4.3. Array spreading syntax is broken while building.

error messgae

This syntax requires an imported helper named '__spreadArray' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'`

huozhi avatar Sep 10 '21 15:09 huozhi

@ajafff Can this be merged? This would make my PR unnecessary, and fix many people's issues.

jbrower2 avatar Nov 24 '21 16:11 jbrower2