Find bugs in JavaScript programs.

E0270: TypeScript type imports are not allowed in JavaScript

TypeScript supports importing types using import type. It is a syntax error to write import type in JavaScript code:

import React, {type FC} from "react";

To fix this error, delete the imported type:

import React from "react";

Documentation for other errors