We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c3106 commit f2230f4Copy full SHA for f2230f4
lib/yard-sorbet/sig_to_yard.rb
@@ -10,7 +10,7 @@ class << self
10
# Map of common types to YARD conventions (in order to reduce allocations)
11
REF_TYPES = T.let({
12
'T::Boolean' => ['Boolean'].freeze, # YARD convention for booleans
13
- # YARD convention is use singleton objects when applicable:
+ # YARD convention is to use singleton objects when applicable:
14
# https://www.rubydoc.info/gems/yard/file/docs/Tags.md#literals
15
'FalseClass' => ['false'].freeze,
16
'NilClass' => ['nil'].freeze,
0 commit comments