After php 7.4 release, I am interested in the new feature, the arrow function. This reminds me when using javascript, I use a lot of arrow functions. Also in javascript can export and import from ...
Originally, I created this solution for personal use due to my preference of not including the .js extension in TypeScript import/export statements when compiling my TypeScript project to ES Module.