vim-jsx-typescript icon indicating copy to clipboard operation
vim-jsx-typescript copied to clipboard

Importing Type in TSX does not works

Open ayrbox opened this issue 4 years ago • 0 comments
trafficstars

When importing type only in tsx file. It expects to have =. Needs condition to skip the check if type comes with import.

import type { User } from 'next-auth';
src/pages/index.tsx|2 col 13| '=' expected.

ayrbox avatar Feb 19 '21 12:02 ayrbox