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

@@ -1,9 +1,10 @@
import Constants from '../../../utils/Constants.js';
import { YTNode, observe, type ObservedArray } from '../../helpers.js';
import type { YTNode} from '../../helpers.js';
import { observe, type ObservedArray } from '../../helpers.js';
import Parser, { type RawNode } from '../../index.js';
import NavigationEndpoint from '../NavigationEndpoint.js';
import type NavigationEndpoint from '../NavigationEndpoint.js';
import Text from './Text.js';
import TextRun from './TextRun.js';
import type TextRun from './TextRun.js';
import Thumbnail from './Thumbnail.js';
export default class Author {

View File

@@ -1,4 +1,4 @@
import Player from '../../../core/Player.js';
import type Player from '../../../core/Player.js';
import { InnertubeError } from '../../../utils/Utils.js';
import type { RawNode } from '../../index.js';