You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Tools: Apply rule @typescript-eslint/ban-types
This commit is contained in:
@ -76,6 +76,7 @@ describe('Synchronizer.resources', () => {
|
||||
const fetcher = new ResourceFetcher(() => {
|
||||
return {
|
||||
// Simulate a failed download
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
get: () => { return new Promise((_resolve: Function, reject: Function) => { reject(new Error('did not work')); }); },
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user