Currently, LibStub:NewLibrary has no return value. It now returns a value of generic type T.
Instead of having to manully specify a @class to the value, it's automatically inferred by whatever string is given as major. So: LibStub:NewLibrary("MyLib-1.0") returns a value of type MyLib-1.0.
Currently,
LibStub:NewLibrary
has no return value. It now returns a value of generic typeT
.Instead of having to manully specify a
@class
to the value, it's automatically inferred by whatever string is given as major. So:LibStub:NewLibrary("MyLib-1.0")
returns a value of typeMyLib-1.0
.