Skip to content

Commit 616a740

Browse files
committed
Fix type of Source::Ruby#diagnostics
1 parent f89262d commit 616a740

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sig/source.rbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module RBS
22
module Source
33
type t = RBS | Ruby
4-
4+
55
class RBS
66
attr_reader buffer: Buffer
77

@@ -28,9 +28,9 @@ module RBS
2828

2929
attr_reader declarations: Array[AST::Ruby::Declarations::t]
3030

31-
attr_reader diagnostics: Array[untyped]
31+
attr_reader diagnostics: Array[InlineParser::Diagnostic::t]
3232

33-
def initialize: (Buffer, Prism::ParseResult, Array[AST::Ruby::Declarations::t], Array[untyped]) -> void
33+
def initialize: (Buffer, Prism::ParseResult, Array[AST::Ruby::Declarations::t], Array[InlineParser::Diagnostic::t]) -> void
3434

3535
def each_type_name: () { (TypeName) -> void } -> void
3636
| () -> Enumerator[TypeName]

0 commit comments

Comments
 (0)