* A static method to create a binding so that we can do * `Binding.bind('foo').to('bar');` as `new Binding('foo').to('bar')` is not * easy to read. * @param key - Binding key
(key: BindingAddress<V>)
| 1022 | * @param key - Binding key |
| 1023 | */ |
| 1024 | static bind<V = unknown>(key: BindingAddress<V>): Binding<V> { |
| 1025 | return new Binding(key); |
| 1026 | } |
| 1027 | |
| 1028 | /** |
| 1029 | * Create a configuration binding for the given key |
no outgoing calls