diff --git a/lib/runtime_generic.rb b/lib/runtime_generic.rb index 3a56349..387e63c 100644 --- a/lib/runtime_generic.rb +++ b/lib/runtime_generic.rb @@ -1,5 +1,14 @@ # typed: true +# Fix tapioca prepend issue +module T + module Generic + def self.prepended(mod) + RuntimeGeneric.prepend(mod) + end + end +end + # This module allows using type introspection to serialize/deserialize custom generics in # T::Structs. #