Skip to content

Commit bfda616

Browse files
authored
Improved TypeScript
1 parent 3cbf8af commit bfda616

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

src/main/java/g2701_2800/s2721_execute_asynchronous_functions_in_parallel/solution.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ async function promiseAll<T>(functions: (() => Promise<T>)[]): Promise<T[]> {
2828
*/
2929

3030
export { promiseAll }
31-

src/main/java/g2701_2800/s2722_join_two_arrays_by_id/solution.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ function join(arr1: any[], arr2: any[]): any[] {
1818
}
1919

2020
export { join }
21-

src/main/java/g2701_2800/s2723_add_two_promises/solution.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ async function addTwoPromises(promise1: Promise<number>, promise2: Promise<numbe
1010
*/
1111

1212
export { addTwoPromises }
13-

src/test/java/g2701_2800/s2721_execute_asynchronous_functions_in_parallel/solution.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ test('promiseAll3', () => {
2222
]
2323
promiseAll(functions).then((e) => expect(e).toEqual({ t: 150, resolved: [4, 10, 16] }))
2424
})
25-

src/test/java/g2701_2800/s2722_join_two_arrays_by_id/solution.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ test('join3', () => {
4141
const result = [{ id: 1, b: { c: 84 }, v: [1, 3], y: 48 }]
4242
expect(join(arr1, arr2)).toEqual(result)
4343
})
44-

src/test/java/g2701_2800/s2723_add_two_promises/solution.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ test('addTwoPromises2', () => {
1212
const promise2 = new Promise((resolve) => setTimeout(() => resolve(-12), 30))
1313
addTwoPromises(promise1, promise2).then((e) => expect(e).toEqual(-2))
1414
})
15-

0 commit comments

Comments
 (0)