akveo / akveo/ng2-smart-table

How to pass headers in Server Data Source API call?

未关闭
#902 21 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
867
PR 合并指标
30 天内没有已合并 PR

描述

I need to send User Auth token to server to fetch user related data and set permissions. I tried to follow this discussion [https://github.com/akveo/ng2-smart-table/issues/614](https://github.com/akveo/ng2-smart-table/issues/614) but it's giving error that:

> Type 'Headers' is not assignable to type 'import("c:/xampp/htdocs/utahrunning/utahclient/node_modules/@angular/http/src/headers").Headers'.
Property 'keys' is missing in type 'Headers'.

I cannot understand what this error really mean. I also posted this question on StackOverFlow but they all are referring to follow above mentioned ticket. Please help and guide what I'm missing. Thanks!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。