Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov authored Nov 11, 2024
1 parent 8dd699c commit 497500f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ class PostResource < ApplicationResource
end
```

You can also specify more complex type definitions using a lower-level API:

```ruby
typelize attribute_name: ["string", "Date", optional: true, nullable: true, multi: true]
```

### TypeScript Integration

Typelizer generates TypeScript interfaces in the specified output directory:
Expand Down

0 comments on commit 497500f

Please sign in to comment.