From 5358fb45ddf60953b4e1c2a1771015f9ccf259d8 Mon Sep 17 00:00:00 2001 From: kotarella1110 Date: Tue, 21 Nov 2023 18:39:25 +0900 Subject: [PATCH 1/2] feat: expose all types --- node_package/src/ReactOnRails.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node_package/src/ReactOnRails.ts b/node_package/src/ReactOnRails.ts index cee7aa347..8a2152292 100644 --- a/node_package/src/ReactOnRails.ts +++ b/node_package/src/ReactOnRails.ts @@ -289,4 +289,5 @@ ctx.ReactOnRails.resetOptions(); ClientStartup.clientStartup(ctx); +export * from "./types"; export default ctx.ReactOnRails; From 474e5c86ea0a3e8914769f1e3a0d342830f8027b Mon Sep 17 00:00:00 2001 From: kotarella1110 Date: Tue, 21 Nov 2023 22:14:37 +0900 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index af3b2d41a..2072a6f93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,10 @@ Changes since the last non-beta release. - Removed a workaround in `JsonOutput#escape` for an no-longer supported Rails version. Additionally, removed `Utils.rails_version_less_than_4_1_1` which was only used in the workaround. [PR 1580](https://github.com/shakacode/react_on_rails/pull/1580) by [wwahammy](https://github.com/wwahammy) +#### Added + +- Exposed TypeScript all types [PR 1586](https://github.com/shakacode/react_on_rails/pull/1586) by [kotarella1110](https://github.com/kotarella1110) + ### [13.4.0] - 2023-07-30 #### Fixed - Fixed Pack Generation logic during `assets:precompile` if `auto_load_bundle` is `false` & `components_subdirectory` is not set. [PR 1567](https://github.com/shakacode/react_on_rails/pull/1545) by [blackjack26](https://github.com/blackjack26) & [judahmeek](https://github.com/judahmeek).