forked from rinafcode/teachLink_mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
23 lines (21 loc) · 717 Bytes
/
Copy pathenv.d.ts
File metadata and controls
23 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// `export {}` makes this a module file so `declare module` below is a proper
// augmentation (merged with the real lucide types) rather than an ambient
// declaration that would shadow the real package.
export {};
declare global {
namespace NodeJS {
interface ProcessEnv {
EXPO_PUBLIC_API_BASE_URL?: string;
EXPO_PUBLIC_SOCKET_URL?: string;
EXPO_PUBLIC_APP_ENV?: string;
}
}
}
declare module 'lucide-react-native' {
// `color` is destructured and mapped to `stroke` inside lucide's Icon
// component at runtime but is absent from the published LucideProps interface.
// Declaring it here resolves the type error project-wide.
interface LucideProps {
color?: string;
}
}