mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
7 lines
302 B
TypeScript
7 lines
302 B
TypeScript
// Compile with pnpm tsc turbopack/crates/turbopack-tests/tests/snapshot/source_maps/input-source-map-merged/sourcemapped.ts --sourceMap --inlineSources --target esnext
|
|
// tsc compile errors can be ignored
|
|
type Fn<T> = () => T
|
|
export function runExternalSourceMapped<T>(fn: Fn<T>): T {
|
|
return fn()
|
|
}
|