mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 11:33:43 +03:00
12 lines
288 B
TypeScript
12 lines
288 B
TypeScript
'use strict';
|
|
|
|
import { Injectable } from '@angular/core';
|
|
import { Subject } from 'rxjs/Subject';
|
|
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
|
|
|
|
@Injectable()
|
|
export class AppStateService {
|
|
samplesLanguage = new Subject<string>();
|
|
error = new BehaviorSubject<any>(null);
|
|
}
|