mirror of
https://github.com/JuLi0n21/homepage.git
synced 2026-04-19 23:30:06 +00:00
feat(): Added type aliases to tsconfig
Added various aliases!
This commit is contained in:
@@ -3,6 +3,23 @@
|
|||||||
"include": [".astro/types.d.ts", "**/*"],
|
"include": [".astro/types.d.ts", "**/*"],
|
||||||
"exclude": ["dist"],
|
"exclude": ["dist"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strictNullChecks": true
|
"strictNullChecks": true,
|
||||||
|
"paths": {
|
||||||
|
/** Uncomment as applicable
|
||||||
|
* - Description: Labelled paths are in lexicon format not descending popularity format
|
||||||
|
// "config/*": ["./src/app/_config/*"],
|
||||||
|
// "environment/*": ["./src/environments/*"],
|
||||||
|
// "shared/*": ["./src/app/_shared/*"],
|
||||||
|
// "helpers/*": ["./src/helpers/*"],
|
||||||
|
// "tests/*": ["./src/tests/*"]
|
||||||
|
*/
|
||||||
|
"@app/*": ["./src/pages/*"],
|
||||||
|
"@assets/*": ["./src/assets/*"],
|
||||||
|
"@blogs/*": ["./src/content/*"],
|
||||||
|
"@components/*": ["./src/components/*"],
|
||||||
|
"@layouts/*": ["./src/layouts/*"],
|
||||||
|
"@styles/*": ["./src/styles/*"],
|
||||||
|
"@ptypes/consts.ts": ["./src/consts.ts"],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user