From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63880: 29.0.91; typescript-ts-mode fails to highlight infer keyword Date: Sun, 04 Jun 2023 08:09:28 +0300 Message-ID: <83ilc37r07.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32415"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63880@debbugs.gnu.org To: Jimmy Yuen Ho Wong , Jostein Kjonigsen , Theodor Thornhill , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 07:09:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5fzd-0008H9-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 07:09:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5fzJ-00087j-8a; Sun, 04 Jun 2023 01:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5fzC-00087L-SS for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5fzC-0006N0-KI for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5fzC-0002EY-GC for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 05:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63880 X-GNU-PR-Package: emacs Original-Received: via spool by 63880-submit@debbugs.gnu.org id=B63880.16858553278564 (code B ref 63880); Sun, 04 Jun 2023 05:09:02 +0000 Original-Received: (at 63880) by debbugs.gnu.org; 4 Jun 2023 05:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:44675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5fyw-0002E3-Ss for submit@debbugs.gnu.org; Sun, 04 Jun 2023 01:08:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5fyu-0002Dq-Mt for 63880@debbugs.gnu.org; Sun, 04 Jun 2023 01:08:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5fym-0006JK-VF; Sun, 04 Jun 2023 01:08:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZgJbCdmo41ZmknXxzMwXxGcZ8vv+4+KWXqusB99XhY8=; b=bAaDi5WbrHjT hFFEVmU7yJnddwnamTmiThI8LS4npjsUe9WWYMMQ4/f0ortRF1GzFyPOtAK42WML1O8mfBHq4Vj7j XnPa6+O1GzLwiktXhp9x4N/ebT0PMw2gdyuNuq4Esx5C3VFOw1GuDcHbxV/zvzJwLcFFwHqaj+Jj9 96yubWPY68xZ8DCt9rDTWiEWUfqZVwcO4NDyB3XYbbljpdOdy7dVn25zdYP5ocPhOLlOExj2mol9m lWD6KA6p+RRiKEdfOPwtKsa0L7eyic/b+XRe2k7h8uNy5IVdhTA7ur3asU9nHmxRZRa0lxetA52lR Ef7lu36EBWhz7y5mVPfiQg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5fyk-0005kE-W0; Sun, 04 Jun 2023 01:08:36 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Sun, 04 Jun 2023 00:57:19 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262895 Archived-At: > From: Jimmy Yuen Ho Wong > Date: Sun, 04 Jun 2023 00:57:19 +0100 > > > Reproduction: > > 1. echo 'type Flatten = Type extends Array ? 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.