mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 12:47:54 +08:00
d22413b931
- Migrated translation service to TS, stripping a lot of now unused code along the way. - Added test to cover translation service. - Fixed some comment count issues, where it was not showing correct value. or updating, on comment create or delete.
16 lines
443 B
TypeScript
16 lines
443 B
TypeScript
import {ComponentStore} from "./services/components";
|
|
import {EventManager} from "./services/events";
|
|
import {HttpManager} from "./services/http";
|
|
import {Translator} from "./services/translations";
|
|
|
|
declare global {
|
|
const __DEV__: boolean;
|
|
|
|
interface Window {
|
|
$components: ComponentStore;
|
|
$events: EventManager;
|
|
$trans: Translator;
|
|
$http: HttpManager;
|
|
baseUrl: (path: string) => string;
|
|
}
|
|
} |