All files ng-select.ts

87.5% Statements 7/8
100% Branches 0/0
66.67% Functions 2/3
100% Lines 6/6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 171x               1x 1x     1x 4x   1x  
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { FunctionSelector } from './types';
 
export interface ISelectable {
  select: (...any) => any;
}
 
@Injectable()
export class NgSelect {
  public static state$: Observable<any>;
 
  connect(store: ISelectable) {
    NgSelect.state$ = store.select(s => s);
  }
}