Skip to content

Commit

Permalink
Promise.resolve
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Raj <[email protected]>
  • Loading branch information
jattasNI and rajsite authored Sep 20, 2024
1 parent bf854fc commit 504f928
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/typescript-requiring-type-checking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export class NI {
}

public async asyncAwesomeness(): Promise<void> {
await new Promise(resolve => {
resolve(true);
});
await Promise.resolve(true);
}
}

0 comments on commit 504f928

Please sign in to comment.