6 lines
110 B
TypeScript
6 lines
110 B
TypeScript
|
declare class Point {
|
||
|
add(dx: number, dy: number): void;
|
||
|
}
|
||
|
|
||
|
Point.prototype.add = function(dx, dy) {
|
||
|
};
|