Skip to content

Commit 9f634fa

Browse files
Fix rake check:type
1 parent c7f0918 commit 9f634fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/ruby_wasm/packager.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def root
8484

8585
# Retrieves the alias definitions for the Ruby sources.
8686
def self.build_source_aliases(root)
87+
# @type var sources: Hash[string, RubyWasm::Packager::build_source]
8788
sources = {
8889
"head" => {
8990
type: "github",

sig/ruby_wasm/packager.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class RubyWasm::Packager
1717

1818
def root: () -> string
1919

20-
type build_source = Hash[Symbol, (String | Array[String])]
20+
type build_source = Hash[Symbol, (string | Array[String])]
2121
def self.build_source_aliases: (string root) -> Hash[string, build_source]
2222

2323
ALL_DEFAULT_EXTS: string

0 commit comments

Comments
 (0)