the problem was:
import { SingleTodo } from '@components' // doesn't work:
Resolve :
import { SingleTodo } from '../../SingleTodo' // correct!
31 lines
469 B
TypeScript
31 lines
469 B
TypeScript
import { IToken } from 'model/other'
|
|
|
|
export const DefaultUser = <IUserState>{
|
|
email: '',
|
|
username: '',
|
|
idapp: process.env.APP_ID,
|
|
password: '',
|
|
lang: 'it'
|
|
}
|
|
|
|
export interface IUserState {
|
|
userId?: string
|
|
email?: string
|
|
username: string
|
|
idapp?: any
|
|
password?: string
|
|
lang?: string
|
|
repeatPassword?: string
|
|
|
|
idToken?: string
|
|
|
|
tokens?: IToken[]
|
|
|
|
verifiedEmail?: boolean
|
|
categorySel?: string
|
|
|
|
tokenforgot?: string
|
|
|
|
servercode?: number
|
|
}
|