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 摘要。