问题:TS2550: Property 'replaceAll' does not exist on type 'string'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later.
处理如下:
在tsconfig.app.json文件添加如下的解析:
"compilerOptions": {
...
"lib": [
"ES2021.String"
]
}