I have two classes:
export class ActionsCollection{ constructor(greeting :string){ this.greet(greeting); } public greet(greeting :string) { return "<h1>"+greeting+"</h1>"; } } and:
import {ActionsCollection} from "./actionsCollection"; class Greeter extends ActionsCollection{ constructor(public greeting: string) { super(greeting); } } alert(new Greeter("Hello, world!")); Greeter generated in such file in which there is a line require("./actionsCollection") . But I want to make sure that all these files (* .ts) are generated in one of some main.js , without any require .
Is it possible to do so? And if so, how?