feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)
This commit is contained in:
parent
343a564183
commit
80f1f1b5b8
103 changed files with 212 additions and 187 deletions
|
|
@ -209,7 +209,7 @@ test(
|
|||
|
||||
const done = await new Promise<string>((resolve) => {
|
||||
const timer = setTimeout(() => resolve("timeout"), 7000)
|
||||
TuiPluginRuntime.dispose().then(() => {
|
||||
void TuiPluginRuntime.dispose().then(() => {
|
||||
clearTimeout(timer)
|
||||
resolve("done")
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue