From 497500fdddc2ee17aa03cfce3d096f753189267e Mon Sep 17 00:00:00 2001 From: Svyatoslav Kryukov Date: Mon, 11 Nov 2024 16:52:58 +0300 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3b610e6..d7795d4 100644 --- a/README.md +++ b/README.md @@ -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: