Subject: bug#63810: 29.0.91; typescript-ts-mode grammar missing the "is" keyword

From: Theodor Thornhill <[email-masked]>
Date: Wed, 31 May 2023 20:51:59 +0200

Theodor Thornhill <[email-masked]> writes:

> On 31 May 2023 14:21:50 CEST, Eli Zaretskii <[email-masked]> wrote:
>>> From: Jimmy Yuen Ho Wong <[email-masked]>
>>> Date: Wed, 31 May 2023 08:30:14 +0100
>>> 
>>> 1. C-x C-f test.ts
>>> 2. Insert
>>>    ```typescript
>>>    function isFish(pet: Fish | Bird): pet is Fish {
>>>      return (pet as Fish).swim !== undefined;
>>>    }
>>>    ```
>>> 3. Observe the `is` keyword isn't highlighted.
>>> 
>>> Expectation:
>>> 
>>> TypeScript has a concept called type predicates, which introduces a
>>> keyword called `is`.
>>
>>Thanks.
>>
>>Can you guys please look into this?
>
> Thanks for the ping. Will look into it this evening.
>
> Theo

Now fixed on emacs-29.

Thanks again for the ping :)

Theo