xref: /third_party/node/test/fixtures/snapshot/ts-example.ts
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/snapshot/
11cb0ef41Sopenharmony_ciclass VirtualPoint {
21cb0ef41Sopenharmony_ci  x: number;
31cb0ef41Sopenharmony_ci  y: number;
41cb0ef41Sopenharmony_ci 
51cb0ef41Sopenharmony_ci  constructor(x: number, y: number) {
61cb0ef41Sopenharmony_ci    this.x = x;
71cb0ef41Sopenharmony_ci    this.y = y;
81cb0ef41Sopenharmony_ci  }
91cb0ef41Sopenharmony_ci}
101cb0ef41Sopenharmony_ci 
111cb0ef41Sopenharmony_ciconst newVPoint = new VirtualPoint(13, 56);
12

Indexes created Thu Nov 07 10:32:03 CST 2024