import { TObject } from "."; export namespace dformat { export function formatMe(text: string, args: TObject): string { for (var attr in args) { text = text.split("#{" + attr + "}").join(args[attr]); } return text; } }