akveo / akveo/ng2-smart-table

Untyped function calls may not accept type arguments

Đang mở
#1,172 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

i'm trying to send a http post in column of smart table
but it shows Untyped function calls may not accept type arguments.ts(2347) error
`
columns:
{

button: {
title: '',
type: 'custom',
renderComponent: ButtonViewComponent,
onComponentInitFunction(instance) {
instance.save.subscribe(row => {
this.http.post('baseurl/api/partage/list',{})
.subscribe(next=>
{});

});

}}
`
i removed , the error disappeared but it Cannot read property 'http' of undefined

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.