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 {User} from './user';
import {Profile} from './profile';
import {User} from './user'
import {Profile} from './profile'
export {
User,

View File

@@ -1,4 +1,4 @@
import { BaseDomain } from "domain/common";
import { BaseDomain } from 'domain/common'
export class Profile extends BaseDomain {
@@ -8,7 +8,7 @@ export class Profile extends BaseDomain {
* @type {string}
* @memberof Profile
*/
public avatar: string;
public avatar: string
/**
* User email
@@ -16,7 +16,7 @@ export class Profile extends BaseDomain {
* @type {string}
* @memberof Profile
*/
public email: string;
public email: string
/**
* User full name
@@ -24,7 +24,7 @@ export class Profile extends BaseDomain {
* @type {string}
* @memberof Profile
*/
public fullName: string;
public fullName: string
/**
* The banner address of user profile
@@ -32,7 +32,7 @@ export class Profile extends BaseDomain {
* @type {string}
* @memberof Profile
*/
public banner: string;
public banner: string
/**
* User tag line
@@ -40,6 +40,6 @@ export class Profile extends BaseDomain {
* @type {string}
* @memberof Profile
*/
public tagLine: string;
public tagLine: string
}

View File

@@ -1,4 +1,4 @@
import { BaseDomain } from "domain/common";
import { BaseDomain } from 'domain/common'
export class User extends BaseDomain {
@@ -8,7 +8,7 @@ export class User extends BaseDomain {
* @type {string}
* @memberof User
*/
public fullName: string;
public fullName: string
/**
* User avatar address
@@ -16,7 +16,7 @@ export class User extends BaseDomain {
* @type {string}
* @memberof User
*/
public avatar: string;
public avatar: string
/**
* Email of the user
@@ -24,7 +24,7 @@ export class User extends BaseDomain {
* @type {string}
* @memberof User
*/
public email?: string | null;
public email?: string | null
/**
* Password of the user
@@ -32,7 +32,7 @@ export class User extends BaseDomain {
* @type {string}
* @memberof User
*/
public password?: string | null;
public password?: string | null
/**
* User identifier
@@ -40,7 +40,7 @@ export class User extends BaseDomain {
* @type {string}
* @memberof User
*/
public userId?: string | null;
public userId?: string | null
/**
* User creation date
@@ -48,6 +48,6 @@ export class User extends BaseDomain {
* @type {number}
* @memberof User
*/
public creationDate: number;
public creationDate: number
}