Actually I write a frontend and backend for my game. I have problem with declarations of namespace in other folder locations.
I have two classes in my namespace:
namespace Quests {
export abstract class AbstractQuest {...
namespace Quests {
export class KillWorms extends Quests.AbstractQuest { ...
In backend I want get value from static value of KillWorms. I trying like that:
import * as worms from "./../src/quests/list/KillWorms";
namespace Server {
export class QuestManager {
constructor() {
console.log(worms);
}
}
}
It doesn't work, can you help me?