Broken build (type error)
This commit is contained in:
@@ -42,3 +42,4 @@ export async function deleteTask(id: number): Promise<boolean> {
|
|||||||
const r = await getPool().query('DELETE FROM tasks WHERE id = $1', [id]);
|
const r = await getPool().query('DELETE FROM tasks WHERE id = $1', [id]);
|
||||||
return (r.rowCount ?? 0) > 0;
|
return (r.rowCount ?? 0) > 0;
|
||||||
}
|
}
|
||||||
|
const x: number = "oops";
|
||||||
|
|||||||
Reference in New Issue
Block a user