[Pkg-javascript-devel] Troubles with tsc
Pirate Praveen
praveen at onenetbeyond.org
Thu Oct 3 06:01:57 BST 2019
On Wed, 2 Oct, 2019 at 11:30, Julien Puydt <julien.puydt at laposte.net>
wrote:
> Le mercredi 02 octobre 2019 à 07:12 +0200, Xavier a écrit :
>> Hi all,
>>
>> when trying to update node-css-what, it's OK with testing but
>> unstable
>> give me this:
>>
>> tsc
>> error TS2318: Cannot find global type 'Array'.
>> error TS2318: Cannot find global type 'Boolean'.
>> error TS2318: Cannot find global type 'CallableFunction'.
>> error TS2318: Cannot find global type 'Function'.
>> error TS2318: Cannot find global type 'IArguments'.
>> error TS2318: Cannot find global type 'NewableFunction'.
>> error TS2318: Cannot find global type 'Number'.
>> error TS2318: Cannot find global type 'RegExp'.
>>
>> Is there a problem with typescript-types/unstable ?
>>
>> I pushed my work to salsa
>>
>
> Yes, Bastien broke node-typescript yesterday... can't blame him :
>
> - I tried the same hack before (literally: I uploaded a version with
> the same patch, and a few hours later dropped it in a new upload) ;
>
The directory it is expecting is,
/usr/share/nodejs/typescript/lib (if you hard code this path then it
works). Should we install types in this directory?
More information about the Pkg-javascript-devel
mailing list