refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules * refactor: run eslint --fix on code to convert to type imports where possible
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import TvCast from '../../../components/TvDetails/TvCast';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import TvCrew from '../../../components/TvDetails/TvCrew';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import type { TvDetails as TvDetailsType } from '../../../../server/models/Tv';
|
||||
import TvDetails from '../../../components/TvDetails';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import TvRecommendations from '../../../components/TvDetails/TvRecommendations';
|
||||
|
||||
const TvRecommendationsPage: NextPage = () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import TvSimilar from '../../../components/TvDetails/TvSimilar';
|
||||
|
||||
const TvSimilarPage: NextPage = () => {
|
||||
|
||||
Reference in New Issue
Block a user