chore(eslint): enforce the use of import type

This commit is contained in:
LuanRT
2023-04-28 22:35:09 -03:00
parent 75ea09dde8
commit 3a7e58d2b9
45 changed files with 106 additions and 83 deletions

View File

@@ -13,7 +13,8 @@ import SponsorCommentBadge from './SponsorCommentBadge.js';
import Proto from '../../../proto/index.js';
import { InnertubeError } from '../../../utils/Utils.js';
import { SuperParsedResult, YTNode } from '../../helpers.js';
import type { SuperParsedResult} from '../../helpers.js';
import { YTNode } from '../../helpers.js';
import type Actions from '../../../core/Actions.js';
import type { ApiResponse } from '../../../core/Actions.js';

View File

@@ -1,7 +1,8 @@
import Text from '../misc/Text.js';
import Thumbnail from '../misc/Thumbnail.js';
import { YTNode } from '../../helpers.js';
import { Parser, RawNode } from '../../index.js';
import type { RawNode } from '../../index.js';
import { Parser } from '../../index.js';
import CommentsEntryPointTeaser from './CommentsEntryPointTeaser.js';
export default class CommentsEntryPointHeader extends YTNode {