Added paths in typescript config and utilise this in all project files
This commit is contained in:
@ -16,6 +16,16 @@
|
||||
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"#commands/*": ["./src/commands/*"],
|
||||
"#entities/*": ["./src/entities/*"],
|
||||
"#http/*": ["./src/http/*"],
|
||||
"#jobs/*": ["./src/jobs/*"],
|
||||
"#managers/*": ["./src/managers/*"],
|
||||
"#middleware/*": ["./src/middleware/*"],
|
||||
"#models/*": ["./src/models/*"],
|
||||
"#repositories/*": ["./src/repositories/*"],
|
||||
"#services/*": ["./src/services/*"],
|
||||
"#socketEvents/*": ["./src/socketEvents/*"],
|
||||
"#utilities/*": ["./src/utilities/*"],
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user