2016-11-14 00:34:01 +09:00

21 lines
355 B
TypeScript

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
}