mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Type annotate the self.default methods
This commit is contained in:
@@ -369,7 +369,7 @@ class Library
|
||||
property dir : String, title_ids : Array(String), scan_interval : Int32,
|
||||
storage : Storage, title_hash : Hash(String, Title)
|
||||
|
||||
def self.default
|
||||
def self.default : self
|
||||
unless @@default
|
||||
@@default = new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user