bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63880: 29.0.91; typescript-ts-mode fails to highlight infer keyword


From: Theodor Thornhill
Subject: bug#63880: 29.0.91; typescript-ts-mode fails to highlight infer keyword
Date: Sun, 04 Jun 2023 10:11:50 +0200


On 4 June 2023 07:09:28 CEST, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
>> Date: Sun, 04 Jun 2023 00:57:19 +0100
>> 
>> 
>> Reproduction:
>> 
>> 1. echo 'type Flatten<Type> = Type extends Array<infer Item> ? Item :
>> Type;' > test.ts
>> 2. C-x C-f test.ts
>> 3. M-x typescript-ts-mode
>> 4. Observe the infer keyword is not highlighted
>> 
>> Expectation:
>> 
>> Typescript has an
>> [`infer`](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types)
>> keyword, it should be highlighted.
>
>Thanks.  CC'ing the relevant developers.


Thanks, I'll look at it :)

I'll try to follow the bugtracker a little more closely going forwards. 
Apologies for the absence :)

Theo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]