Resolve (‘ @’: path.resolve(‘ SRC ‘), resolve(‘ SRC ‘)
Find files [tsconfig. Json], the “JSX” : “the react – JSX” replace “JSX” : “react”, “baseUrl” : “SRC”, “paths” : {” @ / * “: [‘ * ‘]}.
Three, restart the project, do not report errors on the OK