Skip to content

Commit

Permalink
Remove useless ts-ignores (#45025)
Browse files Browse the repository at this point in the history
  • Loading branch information
therealrinku authored Jan 19, 2023
1 parent 9b97461 commit a4d9373
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-ignore
import { use } from 'react'

const fetchCategory = async (categorySlug) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
/// @ts-ignore
import Document, { Main, NextScript, Head, Html } from 'next/document'
export default class MyDocument extends Document {
render() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
/// @ts-ignore
import Document, { Main, NextScript, Head, Html } from 'next/document'
export default class MyDocument extends Document {
render() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
/// @ts-ignore
import Document, { Main, NextScript, Head, Html } from 'next/document'
export default class MyDocument extends Document {
constructor(props) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
/// @ts-ignore
import Document, { Main, NextScript, Head, Html } from 'next/document'

export default class MyDocument extends Document {
Expand Down
1 change: 0 additions & 1 deletion test/integration/script-loader/base/pages/_document.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
/// @ts-ignore
import { Main, NextScript, Head, Html } from 'next/document'
import Script from 'next/script'

Expand Down

0 comments on commit a4d9373

Please sign in to comment.