Skip to content

Commit

Permalink
Update src/container.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: faustbrian <[email protected]>
  • Loading branch information
jeffijoe and faustbrian authored Jan 28, 2019
1 parent 2ae69b2 commit feb934a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export function createContainer(
* Whether or not the registration exists.
*/
function has(name: string | symbol): boolean {
return name in registrations;
return name in rollUpRegistrations()
}

/**
Expand Down

0 comments on commit feb934a

Please sign in to comment.