The Typescript module is a file, how to operate it? Parcel Packaging tool used

I want to compile multiple TS files into a JS file in import order. Typescript itself does not seem to have this function, so I tried the Parcel tool, but after packaging, it was not what I thought, but it generated a lot of module solutions of his own.

File:

demoA.ts
// code
export default () => {
    console.log("hello world...!");
}
demoB.ts
// code
import hello from "./demoA";
hello();

I hope that the merged file will import the code in the module sequentially, and ask for advice on how to achieve this requirement. Can Parcel fulfill this requirement? Ask the gods for help.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b388cc-2c117.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b388cc-2c117.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?