Какой  праввильный тип задать переменным:  login, getUser, loginForm  и возвращаемому значению с метода submitForm ?
@Action('login', {namespace: 'auth'})
    public login: any;
    @Action('getUser', {namespace: 'user'})
    public getUser: any;
public submitForm(formName: string): any {
      const loginForm: any = this.$refs[formName];
      console.log(typeof(this.$refs[formName]));
      loginForm.validate((valid: boolean) => {
        if (valid) {
          return this.login(this.form)
            .then(this.getUser)
            .then(this.redirectUser)
            .then(() => this.$message({
              type: 'success',
              message: Logged in as ${this.currentUser.firstName} ${this.currentUser.lastName}!,
              showClose: true,
              duration: 1500,
            }))
            .catch((error: Error) => {
              this.$message({
                type: 'error',
                message: error.message,
                showClose: true,
                duration: 2000,
              });
              loginForm.resetFields();
            });
        }
        return false;
      });
    }