Skip to content

Commit

Permalink
Fix typos in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Dec 21, 2024
1 parent 21834c7 commit ac61c72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/snippets/js/s/complex-object-serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ export default class Author extends Model {
```js [src/serializers/postSerializer.js]
import Serializer from '#src/core/serializer.js';

class PostSerializer extends Serializer {
export default class PostSerializer extends Serializer {
static {
Serializer.prepare(this, [
'title',
Expand All @@ -732,7 +732,9 @@ class PostSerializer extends Serializer {
```

```js [src/serializers/postPreviewSerializer.js]
class PostPreviewSerializer extends Serializer {
import Serializer from '#src/core/serializer.js';

export default class PostPreviewSerializer extends Serializer {
static {
Serializer.prepare(this, [
'title',
Expand Down

0 comments on commit ac61c72

Please sign in to comment.