lib/common/src/dev/dev.service.ts
Properties |
|
Methods |
constructor(warnings: DevWarnings)
|
||||||
Defined in lib/common/src/dev/dev.service.ts:9
|
||||||
Parameters :
|
addWarning |
addWarning(name: string, note: string)
|
Defined in lib/common/src/dev/dev.service.ts:15
|
Returns :
void
|
Public warnings |
Type : DevWarnings
|
Defined in lib/common/src/dev/dev.service.ts:12
|
import {
Injectable,
} from '@angular/core'
import { DevWarnings } from './dev.commons'
@Injectable()
export class DevService {
constructor(
public warnings: DevWarnings
){}
addWarning(name: string, note: string){
this.warnings.push({name,note})
}
}