TypeScript · Backwards Compatibility

charset

No longer supported. In early versions, manually set the text encoding for reading files.

Syntax
"charset": "value"

Example

Example
{
  "compilerOptions": {
    "charset": "value"
  }
}

More in this group

importsNotUsedAsValues keyofStringsOnly noImplicitUseStrict noStrictGenericChecks out preserveValueImports suppressExcessPropertyErrors suppressImplicitAnyIndexErrors

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course