[Pkg-javascript-devel] Bug#970651: rollup: Unable to build with current tsc
Xavier Guimard
yadd at debian.org
Sun Sep 20 20:08:37 BST 2020
Package: rollup
Version: 1.12.0-2
Severity: serious
Tags: ftbfs
Justification: Policy 7.7.7
node-rollup 1.12.0 can't be build with current typescript (4.0.2). It
requires tsc 3.4.5 (tested with success). Output:
$ tsc --esModuleInterop
src/ModuleLoader.ts:59:3 - error TS2322: Type '(id: string) => boolean' is not assignable to type '(id: string, ...args: T) => boolean'.
Types of parameters 'id' and 'id' are incompatible.
Type '[id: string, ...args: T]' is not assignable to type '[id: string]'.
Source has 2 element(s) but target allows only 1.
59 return id => ids.has(id);
~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Pkg-javascript-devel
mailing list