Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
519 views
in Technique[技术] by (71.8m points)

angular - '{ 'id': string; 'name': string; 'parentId': string; }[]' has no properties in common with type '{ headers?: HttpHeaders }

Have recently upgraded my angular project from 4 to 6.

Getting error message while calling the API. enter image description here

And my commonLoad Value is

enter image description here

Error Message -

TS2559: Type '{ 'id': string; 'name': string; 'parentId': string; }[]' has no properties in common with type '{ headers?: HttpHeaders | { [header: string]: string | string[]; }; observe?: "body"; params?: Ht...'.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...