mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +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);
|
||
|
}
|