Just a simple question I was thinking about, is it possible to include method or function in an interface as following:
Waiting for your comments and ideas about possibilities or issues doing this:
export interface INewsletter {
id: number;
title: string;
release_date: any;
filename: string;
original_filename: string;
notification: boolean;
file: File;
newsletterTranslations: any;
translations: any;
newsletterFiles: any;
newsletter_files: any;
myMethod() { something to do } // My method here
}