Answer the question
In order to leave comments, you need to log in
Error creating method on typescript array?
Error: Property 'showOne' does not exist on type 'any[]'
Code:
Array.prototype.showOne = function(content_body: any[], hidden_class: string, html_img: any[] = undefined, html_img_class: string = undefined): void {};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question