mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
308 B
TypeScript
17 lines
308 B
TypeScript
//// [tests/cases/compiler/es6ClassTest4.ts] ////
|
|
|
|
//// [es6ClassTest4.ts]
|
|
declare class Point
|
|
{
|
|
x: number;
|
|
y: number;
|
|
add(dx: number, dy: number): Point;
|
|
mult(p: Point): Point;
|
|
static origin: Point;
|
|
constructor(x: number, y: number);
|
|
}
|
|
|
|
|
|
//// [es6ClassTest4.js]
|
|
"use strict";
|