import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import 'rxjs/add/operator/map'; @Injectable() export class MemberService { public constructor( ) { } public signin(email: string, password: string): Observable { const body = { signinId: email, signinPw: password, }; const subject: Subject = new Subject(); return subject; } }