declare interface Math { sign(v: number); } declare interface Object { assign(target: {}, source: {}); }