You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Tools: Implement @typescript-eslint/no-explicit-any rule
This commit is contained in:
@@ -18,6 +18,7 @@ interface CurrentPositionOptions {}
|
||||
|
||||
type GeoipService = ()=> Promise<CurrentPositionResponse>;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
const fetchJson = async (url: string): Promise<any> => {
|
||||
let r = await shim.fetch(url);
|
||||
if (!r.ok) throw new Error(`Could not get geolocation: ${await r.text()}`);
|
||||
|
||||
Reference in New Issue
Block a user