@compodoc/compodoc
Version:
The missing documentation tool for your Angular application
27 lines (22 loc) • 508 B
text/typescript
import { Injectable } from '@angular/core';
@Injectable()
export class FooService {
ex: any;
bar: string[] = [];
/**
* @param {string} val The entry value
* @returns {string} The string
* @example
* FooService.open('yala');
*/
open(val: string): string {
return 'test';
}
/**
* @param {string} val The entry value
* @return {string} Another string
*/
close(work: (toto: string) => void): string {
return 'test';
}
}