<commit_before>import {Component, OnInit, ViewChild} from "@angular/core";
import {Status} from "../classes/status";
import {ActiveDirectoryService} from "../services/activeDirectory-service"
import {ActiveDirectory} from "../classes/activeDirectory";

@Component({
	templateUrl: "./templates/loginView.php"
})

export class LoginViewComponent {
	@ViewChild("loginForm") loginForm;
	loginData : ActiveDirectory = new ActiveDirectory("", "");
	status: Status = null;

	constructor(private activeDirectoryService: ActiveDirectoryService) {}

	login() : void {
		this.activeDirectoryService.login(this.loginData)
			.subscribe(status => {
				this.apiStatus = status;
				if(status.apiStatus === 200) {
					this.loginForm.reset();
				}
			});
	}
}<commit_msg>bloody PhpStorm taking too much bloody boiler enegery to bloody update the bloody TypeScript bloody bloody errors<commit_after>import {Component, OnInit, ViewChild} from "@angular/core";
import {Status} from "../classes/status";
import {ActiveDirectoryService} from "../services/activeDirectory-service"
import {ActiveDirectory} from "../classes/activeDirectory";

@Component({
	templateUrl: "./templates/loginView.php"
})

export class LoginViewComponent {
	@ViewChild("loginForm") loginForm;
	loginData : ActiveDirectory = new ActiveDirectory("", "");
	status: Status = null;

	constructor(private activeDirectoryService: ActiveDirectoryService) {}

	login() : void {
		this.activeDirectoryService.login(this.loginData)
			.subscribe(status => {
				this.status = status;
				if(status.apiStatus === 200) {
					this.loginForm.reset();
				}
			});
	}
}
{'fraction_non_alphanumeric': 0.13763174209547427, 'fraction_numerical': 0.0037197768133911966, 'mean_word_length': 5.090566037735849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1065480', 'n_tokens_mistral': 492, 'n_tokens_neox': 445, 'n_words': 106}