Improvment in tslint standard (#16)

This commit is contained in:
Qolzam
2017-10-10 16:39:02 +07:00
parent 181d2b8abd
commit 1937742f04
160 changed files with 984 additions and 1019 deletions

View File

@@ -1,5 +1,5 @@
import { SocialError } from "./socialError";
import { BaseDomain } from "./baseDomain";
import { SocialError } from './socialError'
import { BaseDomain } from './baseDomain'
export {
SocialError,

View File

@@ -1,9 +1,9 @@
export class SocialError{
constructor(code: string, description: string){
this._code = code;
this._description = description;
this._isError = true;
this._code = code
this._description = description
this._isError = true
}
/**
@@ -12,9 +12,9 @@ export class SocialError{
* @type {string}
* @memberof SocialError
*/
private _code : string;
private _code : string
public get code() : string {
return this._code;
return this._code
}
/**
@@ -24,9 +24,9 @@ export class SocialError{
* @memberof SocialError
*/
private _description : string;
private _description : string
public get description() : string {
return this._description;
return this._description
}
@@ -37,9 +37,9 @@ export class SocialError{
* @memberof SocialError
*/
private _isError : Boolean;
private _isError : Boolean
public get isError() : Boolean {
return this._isError;
return this._isError
}
}