projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Client: split in angular modules
[oweals/peertube.git]
/
client
/
src
/
app
/
core
/
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
}