8000 Add rbs for public methods and constant by sue445 · Pull Request #2 · koic/minifyrb · GitHub
[go: up one dir, main page]

Skip to content
8000
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sig/minifyrb.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Minifyrb
VERSION: String
end
7 changes: 7 additions & 0 deletions sig/minifyrb/minifier.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module Minifyrb
class Minifier
def initialize: (String code, ?filepath: String?) -> void

def minify: () -> String
end
end
5 changes: 5 additions & 0 deletions sig/minifyrb/rake_task.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Minifyrb
class RakeTask
def initialize: (?(Symbol | String) name, *untyped) ?{ (*untyped, **untyped) -> untyped } -> void
end
end
0