import { Injectable, Inject } from 'ng-metadata/core'; import { UtilService } from './util.service'; @Injectable(UtilService.name) export class UtilServiceImpl implements UtilService { constructor(@Inject('$sanitize') private $sanitize: ng.sanitize.ISanitizeService) { } public isAdBlockEnabled(callback: (isEnabled: boolean) => void): void { } public isEmailAddress(str: string): boolean { return null; } public getMarkedDown(str: string): string { return null; } public getFirstMarkdownLineAsText(commentString: string, placeholderNeeded: boolean): string { return null; } public escapeHtmlString(text: string): string { return null; } public getRestUrl(args: any[]): string { return null; } public textToSafeHtml(text: string): string { return null; } }