Files
freeplanet/src/typings/index.ts

27 lines
374 B
TypeScript
Raw Normal View History

2018-11-15 19:48:37 +01:00
// export * from './LoginState';
export * from './GlobalState.d'
2018-11-11 19:27:04 +01:00
export interface IResponse<T> {
success?: boolean,
message?: string,
type: 'error'|'warning'
data: T,
}
export interface ITab {
title: string,
icon?: any,
condition?: boolean,
childs?: boolean,
badge?: number,
to: {
name: string,
params?: {
[x: string]: any
}
}
}