mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
cad3a51049
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
19 lines
240 B
JavaScript
19 lines
240 B
JavaScript
import fs from 'fs'
|
|
import other from 'other'
|
|
|
|
const [a, b, ...rest] = fs.promises
|
|
const [foo, bar] = other
|
|
|
|
export async function getStaticProps() {
|
|
a
|
|
b
|
|
rest
|
|
bar
|
|
}
|
|
|
|
class Foo {}
|
|
|
|
export default function Home() {
|
|
return <div />
|
|
}
|