Skip to content

Commit 9c3a1ee

Browse files
committed
Register response type writer signatures
1 parent 0734208 commit 9c3a1ee

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

react_on_rails/Steepfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ target :lib do
4343
check "lib/react_on_rails/rendering_strategy/exec_js_strategy.rb"
4444
check "lib/react_on_rails/server_rendering_pool.rb"
4545
check "lib/react_on_rails/test_helper.rb"
46+
check "lib/react_on_rails/typescript_response_types.rb"
47+
check "lib/react_on_rails/typescript_response_types/generated_file_writer.rb"
4648
check "lib/react_on_rails/utils.rb"
4749
check "lib/react_on_rails/version_checker.rb"
4850

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module ReactOnRails
2+
module TypeScriptResponseTypes
3+
class GeneratedFileWriter
4+
def self.write: (Pathname path, String content) -> void
5+
6+
def initialize: (Pathname path, String content) -> void
7+
def write: () -> void
8+
end
9+
end
10+
end

0 commit comments

Comments
 (0)