Also is there any way to not compile to a single file but have the compiled output not be mixed in with the source?
You can use outDir
. But I recommend against that as it becomes fairly weird ... fairly quickly
.ts
in child
interface URL {
createObjectURL(object: any, options?: ObjectURLOptions): string;
revokeObjectURL(url: string): void;
}
declare var URL: URL;
URL
is defined this way. Anyone else?
URL
interface. See https://basarat.gitbooks.io/typescript/content/docs/types/lib.d.ts.html for examples :rose: