Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
aalin committed Jan 10, 2024
1 parent a94b3f5 commit 5503721
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6,325 deletions.
8 changes: 4 additions & 4 deletions lib/mayu/resources/transformers/css.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def self.transform(source:, source_path:, source_line: 1, minify: true)

sig do
params(
classes: T::Hash[String, String],
elements: T::Hash[String, String],
exports: T::Hash[Symbol, T.untyped]
classes: T::Hash[Symbol, String],
elements: T::Hash[Symbol, String],
exports: T::Hash[String, T.untyped]
).returns(T::Hash[Symbol, String])
end
def self.join_classes(classes, elements, exports)
Expand All @@ -116,7 +116,7 @@ def self.join_classes(classes, elements, exports)
params(
klass: String,
exports: T::Hash[String, T.untyped],
classes: T::Hash[String, String]
classes: T::Hash[Symbol, String]
).returns(String)
end
def self.join_class(klass, exports, classes)
Expand Down
Loading

0 comments on commit 5503721

Please sign in to comment.