akveo / akveo/ng2-smart-table

Untyped function calls may not accept type arguments

Ouverte
#1,172 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
1.6k
Forks
867
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.