react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Create tsconfig.json

Open rvanheesmlg opened this issue 3 years ago • 0 comments

As there is no tsconfig.json file, IntelliJ IDEs will complain about default imports without having this flag set to true. This error is triggered in index.d.ts on line 2: import React from "react";

Error: TS1259: Module '"[...obusfacted...]/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag

rvanheesmlg avatar Sep 22 '21 12:09 rvanheesmlg