react native import virtual path
// in tsconfig.json
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"baseUrl": "src",
"paths": {
"@assets/*": [
"assets/*",
],
...
}
}
}