mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
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:
committed by
GitHub
parent
0e5df2fa47
commit
ffec69009a
2
types/graphql-upload/graphqlUploadKoa.d.ts
vendored
2
types/graphql-upload/graphqlUploadKoa.d.ts
vendored
@@ -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
|
||||
|
||||
2
types/jquery/JQueryStatic.d.ts
vendored
2
types/jquery/JQueryStatic.d.ts
vendored
@@ -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 */
|
||||
/**
|
||||
|
||||
2
types/papaparse/index.d.ts
vendored
2
types/papaparse/index.d.ts
vendored
@@ -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 */
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user