First Committ
This commit is contained in:
26
src/typings/index.ts
Executable file
26
src/typings/index.ts
Executable file
@@ -0,0 +1,26 @@
|
||||
// export * from './LoginState';
|
||||
|
||||
// export * from './GlobalState.d'
|
||||
|
||||
export * from './ProgressBar.d'
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user