forked from MapComplete/MapComplete
Improve typing
This commit is contained in:
parent
5966dd3aa7
commit
2d0cb87e5a
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ export default class ScriptUtils {
|
||||||
return JSON.parse(data.content)
|
return JSON.parse(data.content)
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Download(url, headers?: any): Promise<{ content: string }> {
|
private static Download(url: string, headers?: any): Promise<{ content: string }> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
try {
|
try {
|
||||||
headers = headers ?? {}
|
headers = headers ?? {}
|
||||||
|
|
Loading…
Reference in a new issue