UNPKG
@lillallol/dic
Version:
latest (2.0.0)
2.0.0
1.1.0
1.0.0
My own dependency injection container.
github.com/lillallol/dic
lillallol/dic
@lillallol/dic
/
dist
/
Dic
/
throwIfAlreadyRegistered.d.ts
7 lines
(6 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{ registry }
from
"../types"
;
/** *
@description
* Throws error if the provided abstraction is already registered in the provided registry. */
export
declare
function
throwIfAlreadyRegistered
(
abstraction
:
symbol
,
registry
: registry
):
void
;