3 small fixes to the recent tslint->eslint conversion (#63768)

1. wrong tslint syntax in a couple of manual fixups.
2. missed conversion in one file (possibly new in the last two days? I
haven't checked).
Thanks to @sandersn
This commit is contained in:
Nathan Shively-Sanders
2022-12-31 01:59:07 -08:00
committed by GitHub
parent 0e5df2fa47
commit ffec69009a
3 changed files with 3 additions and 3 deletions

View File

@@ -8,4 +8,4 @@ export interface UploadOptions {
export default function graphqlUploadKoa<StateT = DefaultState, ContextT = DefaultContext>(
uploadOptions?: UploadOptions,
): Middleware<StateT, ContextT>; // tslint:disable-line:no-unnecessary-generics
): Middleware<StateT, ContextT>; // eslint-disable-line no-unnecessary-generics

View File

@@ -194,7 +194,7 @@ jQuery(function( $ ) {
```
*/
/* eslint-disable no-unnecessary-generics */
// tslint-disable-next-line:unified-signatures
// tslint:disable-next-line:unified-signatures
<TElement = HTMLElement>(callback: ((this: Document, $: JQueryStatic) => void)): JQuery<TElement>;
/* eslint-enable no-unnecessary-generics */
/**

View File

@@ -43,7 +43,7 @@ export function parse<T>(url: string, config: ParseRemoteConfig<T>): void;
* @returns Doesn't return anything. Results are provided asynchronously to a callback function.
*/
/* eslint-disable no-unnecessary-generics */
// tslint-disable-next-line:unified-signatures
// tslint:disable-next-line:unified-signatures
export function parse<T>(csvString: string, config: ParseWorkerConfig<T> & { download?: false | undefined }): void;
/* eslint-enable no-unnecessary-generics */
/**