Reason: TS believes that these files will eventually be merged into one file, while app declares it multiple times.
Solution: Let TS think that the file is an independent module
add on
export {}
It can be solved
Reason: TS believes that these files will eventually be merged into one file, while app declares it multiple times.
Solution: Let TS think that the file is an independent module
add on
export {}
It can be solved