mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
14 lines
338 B
TypeScript
14 lines
338 B
TypeScript
import { headers, type UnsafeUnwrappedHeaders } from 'next/headers';
|
|
|
|
export function MyComp() {
|
|
return (headers() as unknown as UnsafeUnwrappedHeaders);
|
|
}
|
|
|
|
export function MyComp2() {
|
|
return (headers() as unknown as UnsafeUnwrappedHeaders);
|
|
}
|
|
|
|
export function MyComp3() {
|
|
return (headers() as unknown as UnsafeUnwrappedHeaders);
|
|
}
|