Commit dc558fd4 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

reproduction

parent e9a8ee50
import * as React from 'react'
import(`@/${globalThis.type}/zh-Hant/${globalThis.processedSlugPath}/page.ts`)
export default function page() {
return <div>hello</div>
......
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import './.next/types/routes.d.ts'
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
import * as React from 'react'
export default function page() {
return <div> hello world </div>
}
export async function getServerSideProps() {
return {}
}
{
"compilerOptions": {
"target": "ES2022",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"],
"@/docs/*": ["./docs/*"],
"@/learn/*": ["./learn/*"]
},
"strictNullChecks": true
},
"include": [
"**/*.mts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"next-env.d.ts",
"next.config.mjs"
],
"exclude": ["node_modules"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment