Skip to content

Commit 0580f3a

Browse files
committed
'constructor' typo in migration from javascript tutorial
1 parent 3f2501a commit 0580f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/tutorials/Migrating from JavaScript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ For instance, imagine a `Point` class, and imagine a function that we wish to ad
391391

392392
```ts
393393
class Point {
394-
constuctor(public x, public y) {}
394+
constructor(public x, public y) {}
395395
getDistance(p: Point) {
396396
let dx = p.x - this.x;
397397
let dy = p.y - this.y;

0 commit comments

Comments
 (0)