Skip to content

Commit

Permalink
fix: add missing worker types
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed May 13, 2021
1 parent 111d41c commit fb990c5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,18 @@ declare global {
log: typeof _log;
flags: typeof _flags;
}

interface WorkerGlobalScope {
// dzx
$: $;
cd: typeof _cd;
quote: typeof _quote;

// x
path: typeof _path;
io: typeof _io;
fs: typeof _fs;
log: typeof _log;
flags: typeof _flags;
}
}

0 comments on commit fb990c5

Please sign in to comment.