mirror of
https://github.com/actions/typescript-action.git
synced 2025-12-14 22:20:53 +00:00
Create CI workflow and tests
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* Wait for a number of milliseconds.
|
||||
* @param milliseconds The number of milliseconds to wait.
|
||||
* @returns {Promise<string>} Resolves with 'done!' after the wait is over.
|
||||
*/
|
||||
export async function wait(milliseconds: number): Promise<string> {
|
||||
return new Promise(resolve => {
|
||||
if (isNaN(milliseconds)) {
|
||||
|
||||
Reference in New Issue
Block a user