JavaScript support
The JavaScript support is just as good as the TypeScript support, because TypeScript loves JavaScript. The best way to use in a JavaScript project is to create a tsconfig.json with allowJs set to true:
{
  "compilerOptions": {
    "allowJs": true,
    "outDir": "./dist"
  }
}
Note:
outDiris required withallowJsbecause you don't want to overwrite your JS source by mistake 🌹.