Minor changes
This commit is contained in:
21
scripts/aqua.ts
Normal file
21
scripts/aqua.ts
Normal file
@ -0,0 +1,21 @@
|
||||
function find(id: string) {
|
||||
return document.getElementById(id)
|
||||
}
|
||||
|
||||
function get(url: string, body?: Object): Promise<string> {
|
||||
return new Promise(function(resolve, reject) {
|
||||
resolve("")
|
||||
})
|
||||
}
|
||||
|
||||
function post(url: string, body?: Object): Promise<string> {
|
||||
return new Promise(function(resolve, reject) {
|
||||
resolve("")
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
find,
|
||||
get,
|
||||
post
|
||||
}
|
Reference in New Issue
Block a user