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 MovieCast from '../../../components/MovieDetails/MovieCast';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import MovieCrew from '../../../components/MovieDetails/MovieCrew';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import type { MovieDetails as MovieDetailsType } from '../../../../server/models/Movie';
|
||||
import MovieDetails from '../../../components/MovieDetails';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import MovieRecommendations from '../../../components/MovieDetails/MovieRecommendations';
|
||||
|
||||
const MovieRecommendationsPage: NextPage = () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import MovieSimilar from '../../../components/MovieDetails/MovieSimilar';
|
||||
|
||||
const MovieSimilarPage: NextPage = () => {
|
||||
|
||||
Reference in New Issue
Block a user