I'm trying to import a self-written TypeScript-Module to a Svelte component. However, I'm receiving the following error when I try to import the Module with the following line
import {TelegramBotForSafetyMania} from '../telegram_bot';
we receive the following error:
So we tried to define the format of the imported file by writing .ts at the end of the file name:
import {TelegramBotForSafetyMania} from '../telegram_bot.ts';
but then we received the following error:
Does anybody know how to solve this problem?

