[Pkg-javascript-devel] Bug#1005287: Bug#1005287: node-csstype: Build drops "; " in typescript declarations

Yadd yadd at debian.org
Thu Feb 10 15:20:27 GMT 2022


On 10/02/2022 15:38, Yadd wrote:
> Package: node-csstype
> Version: 3.0.10-1
> Severity: grave
> Justification: renders package unusable
> 
> debian/rules launches `ts-node --files build.ts --start` which (only)
> modifies indes.d.ts and index.js.flow. The result is unusable with tsc:
> 
>    /usr/share/nodejs/csstype/index.d.ts:18305:8 - error TS1005: ';' expected.
> 
> All final ";" are dropped.

Removing override_dh_auto_build fixes the problem (using upstream 
index.d.ts and index.js.flow which are readable)

@Julien, could you take a look ?



More information about the Pkg-javascript-devel mailing list