You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-03 23:50:33 +02:00
Tools: Apply rule @typescript-eslint/ban-types
This commit is contained in:
@ -86,6 +86,7 @@ async function deleteAsset(oauthToken: string, id: number) {
|
||||
}
|
||||
|
||||
async function uploadAsset(oauthToken: string, uploadUrl: string, pluginInfo: PluginInfo) {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
|
||||
return new Promise((resolve: Function, reject: Function) => {
|
||||
ghReleaseAssets({
|
||||
url: uploadUrl,
|
||||
|
Reference in New Issue
Block a user