diff options
Diffstat (limited to 'js/libdeno.ts')
-rw-r--r-- | js/libdeno.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/js/libdeno.ts b/js/libdeno.ts index ee43413f3..33e9e4f5f 100644 --- a/js/libdeno.ts +++ b/js/libdeno.ts @@ -12,7 +12,8 @@ interface EvalErrorInfo { // The actual thrown entity // (might be an Error or anything else thrown by the user) // If isNativeError is true, this is an Error - thrown: any; // tslint:disable-line:no-any + // eslint-disable-next-line @typescript-eslint/no-explicit-any + thrown: any; } interface Libdeno { @@ -29,11 +30,9 @@ interface Libdeno { * Returns an array: [output, errInfo]. * If an error occurs, `output` becomes null and `errInfo` is non-null. */ - evalContext( - code: string - ): [any, EvalErrorInfo | null] /* tslint:disable-line:no-any */; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + evalContext(code: string): [any, EvalErrorInfo | null]; - // tslint:disable-next-line:no-any errorToJSON: (e: Error) => string; } |