Property Includes Does Not Exist On Type String

[Solved] Property Includes Does Not Exist On Type String | Typescript - Code Explorer | yomemimo.com
Question : Property 'includes' does not exist on type 'string'.

Answered by : ravi-jajam

Changing the compiler target to "es2016" in tsconfig.js should solve this issue.

Source : https://stackoverflow.com/questions/40545329/property-includes-does-not-exist-on-type-string | Last Update : Fri, 15 Apr 22

Answers related to property includes does not exist on type string

Code Explorer Popular Question For Typescript