Skip to content

Commit 92459d0

Browse files
ninolpil
authored andcommitted
Fix mistake whoops!
1 parent 749ab3e commit 92459d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book-src/tour/custom-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ Cat(name: "Jinx", cuteness: 2002)
266266

267267
```javascript
268268
// JavaScript
269-
import { Guest, LoggedIn, Animal } from "my_module.mjs";
269+
import { Guest, LoggedIn, Cat } from "my_module.mjs";
270270

271271
new Guest();
272272
new LoggedIn("Kim");
273-
new Animal("Jinx", 2002);
273+
new Cat("Jinx", 2002);
274274
```

0 commit comments

Comments
 (0)