class Rbs2ts::Converter::Types::Optional

Public Instance Methods

to_ts() click to toggle source
# File lib/rbs2ts/converter/types.rb, line 100
def to_ts
  "#{Types::Resolver.to_ts(type.type)} | null | undefined"
end