declare module 'deprecated' { export function method (msg: string, log: (...t: any[]) => void ,t: T): T export function field (msg: string, log: (...t: any[]) => void , t: T, prop: string, value: V): T }