// @target: es2015
// @strict: false

interface Number extends Comparable<number> {

    compareTo(other: number);

}

Number.prototype.compareTo = function (other: number) {

   return this.valueOf() == other;

}

 
