Typescript Terminato! Funziona!

This commit is contained in:
paolo
2018-11-11 19:27:04 +01:00
parent 6522a88eb7
commit 0e383f3493
22 changed files with 636 additions and 184 deletions

23
src/typings/index.ts Normal file
View File

@@ -0,0 +1,23 @@
//export * from './LoginState';
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
}
}
}