Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Jan 9, 2025
1 parent 3ebeb27 commit 0c9c720
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ Here's an example of how to define the `Book` and `Author` entities:
```swift
struct Book: EntityType {
typealias EntityIDRawType = String
typealias TypedIdentifierRawValue = String
var entityID: EntityID {
var typedID: TypedID {
.init(rawID)
}
Expand All @@ -87,9 +87,9 @@ struct Book: EntityType {
struct Author: EntityType {
typealias EntityIDRawType = String
typealias TypedIdentifierRawValue = String
var entityID: EntityID {
var typedID: TypedID {
.init(rawID)
}
Expand Down

0 comments on commit 0c9c720

Please sign in to comment.