Code Review
/
src
/
xds
/
xds-agent.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Improved and fixed connection to XDS Server
[src/xds/xds-agent.git]
/
webapp
/
src
/
app
/
@core-xds
/
module-import-guard.ts
1
export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) {
2
if (parentModule) {
3
throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`);
4
}
5
}