Closed ivlevAstef closed 1 year ago
Now for check type your can write:
container.register(A.init) .as(check: Protocol.self, { $0 })
Maybe after swift 5.7 no need write check, and can use default generic value.
Not work :( compile error :(
Now for check type your can write:
Maybe after swift 5.7 no need write check, and can use default generic value.