From 7b2c48045be08ed8dc224ab092ba5843677c512a Mon Sep 17 00:00:00 2001 From: Sami Fouad Date: Mon, 28 Nov 2022 01:20:43 -0700 Subject: [PATCH] update ts support to include tsx please see https://www.typescriptlang.org/docs/handbook/jsx.html for more info on the .tsx file extension --- ts.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts.nanorc b/ts.nanorc index b504c1e..6d54343 100644 --- a/ts.nanorc +++ b/ts.nanorc @@ -1,4 +1,4 @@ -syntax "typescript" "\.(ts)$" +syntax "typescript" "\.(ts|tsx)$" header "^#!.*\/(env +)ts-node" ## Default