Files
vscode/extensions/copilot/test/scenarios/test-current-selection-impls/test.ts
T
kieferrmandcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> 333d9a4053 Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-27 11:35:20 +02:00

30 lines
552 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation and GitHub. All rights reserved.
*--------------------------------------------------------------------------------------------*/
class Baz {
constructor(public readonly id: number) { }
}
function foo() {
return 42;
}
function bar() {
foo();
const arr: IBar[] = [];
for (let i = 0; i < 10; i++) {
arr.push(new Baz(i));
}
return arr;
}
function baz() {
foo();
foo();
}
interface IBar {
id: number;
}