mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
7812f244fe
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
13 lines
160 B
TypeScript
13 lines
160 B
TypeScript
// @module: commonjs
|
|
// @Filename: a.ts
|
|
const foo = {
|
|
a: 1
|
|
}
|
|
|
|
export default foo as Readonly<typeof foo>
|
|
|
|
// @Filename: b.ts
|
|
import foo from './a'
|
|
|
|
foo.a = 2
|