Skip to content

Commit 59cc171

Browse files
committed
Restore RBS::Environment#declarations for backwards-compatibility
1 parent d73093b commit 59cc171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sig/environment.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module RBS
3131
end
3232

3333
# Top level declarations
34-
attr_reader declarations: Array[AST::Declarations::t]
34+
def declarations: () -> Array[AST::Ruby::Declarations::t | AST::Declarations::t]
3535

3636
# Array of source objects loaded in the environment
3737
#

0 commit comments

Comments
 (0)