(key: string, scopes: AnyObject[])
| 405 | } |
| 406 | |
| 407 | function _resolve(key: string, scopes: AnyObject[]) { |
| 408 | for (const scope of scopes) { |
| 409 | if (!scope) { |
| 410 | continue; |
| 411 | } |
| 412 | const value = scope[key]; |
| 413 | if (typeof value !== 'undefined') { |
| 414 | return value; |
| 415 | } |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | function getKeysFromAllScopes(target: ResolverCache) { |
| 420 | let keys = target._keys; |
no outgoing calls
no test coverage detected