File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import type { AppProps } from ' next/app'
1+ import type { AppProps } from " next/app"
22
33// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
44function MyApp ( { Component, pageProps } : AppProps ) {
Original file line number Diff line number Diff line change 11// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
2- import type { NextApiRequest , NextApiResponse } from ' next'
2+ import type { NextApiRequest , NextApiResponse } from " next"
33
44type Data = {
55 name : string
@@ -10,5 +10,5 @@ export default function handler(
1010 req : NextApiRequest ,
1111 res : NextApiResponse < Data >
1212) {
13- res . status ( 200 ) . json ( { name : ' John Doe' } )
13+ res . status ( 200 ) . json ( { name : " John Doe" } )
1414}
Original file line number Diff line number Diff line change 1- import type { NextPage } from ' next'
1+ import type { NextPage } from " next"
22import { range } from "linq-to-typescript"
3- import { ChangeEvent , useState } from ' react'
3+ import { ChangeEvent , useState } from " react"
44
55const generateNumbers = ( max : number ) => {
66 const primeNumbers = range ( 2 , max )
You can’t perform that action at this time.
0 commit comments