misskey-dev / misskey.js

Misskey SDK for JavaScript
MIT License
76 stars 25 forks source link

style: fix `@typescript-eslint/consistent-type-imports` lint errors #51

Open saschanaz opened 1 year ago

saschanaz commented 1 year ago

What

Replaced type imports with explicit import type.

Why

To make the linter happy (added by 6a87f4ade9118da80f1a4b128702596a4ee54e13)

Additional info (optional)

codecov[bot] commented 1 year ago

Codecov Report

Merging #51 (c5a4935) into develop (13a2d16) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop      #51   +/-   ##
========================================
  Coverage    95.24%   95.24%           
========================================
  Files            2        2           
  Lines          442      442           
  Branches        53       53           
========================================
  Hits           421      421           
  Misses          21       21           
Impacted Files Coverage Δ
src/api.ts 100.00% <100.00%> (ø)
src/streaming.ts 93.82% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.