export function transformArguments(): Array { return ['TIME']; } interface TimeReply extends Date { microseconds: number; } export function transformReply(reply: [string, string]): TimeReply { const seconds = Number(reply[0]), microseconds = Number(reply[1]), d: Partial = new Date(seconds * 1000 + microseconds / 1000); d.microseconds = microseconds; return d as TimeReply; }