interface User {
a: string;
b: number;
c(this: User): void
}
const userTZ = getUserTZ() || '+0300'
let query = {
"createdAt": {
$lte: new Date(`2019-06-01 00:00:00${userTZ}`),
$gte: new Date(``2019-06-30 23:59:59${userTZ}``)
}
}
basket
.require({
url: 'https://jsonplaceholder.typicode.com/todos/1',
key: 'todo',
execute: false
}).then(() => {
const cached = basket.get('todo')
console.log(cached)
})
get http://user-service/profile/<id>
и получать всю инфу включая аватар.