Web: Login: added index.d.ts

This commit is contained in:
Artem Tarasov 2022-08-04 12:14:55 +03:00
parent b8f32739e5
commit 52fd53a381

21
packages/login/index.d.ts vendored Normal file
View File

@ -0,0 +1,21 @@
import { Request } from "express";
export {};
declare global {
interface Window {
authCallback?: (profile: object) => {};
__ASC_INITIAL_LOGIN_STATE__?: object;
initialI18nStoreASC?: object;
initialLanguage?: string;
}
interface IInitLoginState {
error?: string | object;
}
interface DevRequest extends Request {
assets?: object;
}
var IS_DEVELOPMENT: boolean;
var PORT: number;
}