0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

fix(std/wasi): ignore lint errors (#7197)

This commit is contained in:
Yusuke Tanaka 2020-08-27 18:14:01 +09:00 committed by GitHub
parent 58bcb9880b
commit 59428e3d8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,6 +228,7 @@ const clock_time_monotonic = function (): bigint {
const clock_time_process = clock_time_monotonic;
const clock_time_thread = clock_time_monotonic;
// deno-lint-ignore ban-types
function syscall(target: Function): Function {
return function (...args: unknown[]): number {
try {
@ -298,6 +299,7 @@ export default class Context {
// deno-lint-ignore no-explicit-any
fds: any[];
// deno-lint-ignore ban-types
exports: Record<string, Function>;
constructor(options: ContextOptions) {