TypeScript: ES2015 string property 'repeat' not recognized
In my case, I only changed this line on tsconfig.json file:
Before:
"compilerOptions": {
"target": "es5"
}
After:
"compilerOptions": {
"target": "es6"
}
In my case, I only changed this line on tsconfig.json file:
Before:
"compilerOptions": {
"target": "es5"
}
After:
"compilerOptions": {
"target": "es6"
}