diff options
Diffstat (limited to 'tests/testdata/bundle/file_tests-subdir-h.ts')
-rw-r--r-- | tests/testdata/bundle/file_tests-subdir-h.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testdata/bundle/file_tests-subdir-h.ts b/tests/testdata/bundle/file_tests-subdir-h.ts new file mode 100644 index 000000000..9c86dd5c5 --- /dev/null +++ b/tests/testdata/bundle/file_tests-subdir-h.ts @@ -0,0 +1,12 @@ +const g: number[] = []; + +export class H { + #g!: number[]; + constructor(shared: boolean) { + if (shared) { + this.#g = g; + } else { + this.#g = []; + } + } +} |