Use this to export functions so they can be called from other resources.
Read more on exports
function exports(exportedName: string, fn: Function) => void
exports("printSomething", () => {
console.log("Something");
});
exports("dropPlayer", (src: string, reason: string) => {
DropPlayer(src, reason);
});
// OR
exports("dropPlayer", DropPlayer);