diff --git a/cherrypick/lib/src/binding.dart b/cherrypick/lib/src/binding.dart index a319d88..e1669fb 100644 --- a/cherrypick/lib/src/binding.dart +++ b/cherrypick/lib/src/binding.dart @@ -91,6 +91,21 @@ class Binding { return this; } + @Deprecated('Use toInstance instead of toInstanceAsync') + Binding toInstanceAsync(Instance value) { + return this.toInstance(value); + } + + @Deprecated('Use toProvide instead of toProvideAsync') + Binding toProvideAsync(Provider value) { + return this.toProvide(value); + } + + @Deprecated('Use toProvideWithParams instead of toProvideAsyncWithParams') + Binding toProvideAsyncWithParams(ProviderWithParams value) { + return this.toProvideWithParams(value); + } + /// RU: Инициализация экземляпяра  как сингелтон [value]. /// ENG: Initialization instance as a singelton [value]. ///