Skip to content

Commit

Permalink
chore(eslint): Remove explicit public declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed Nov 4, 2021
1 parent 2f847ff commit eab77a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/lib/components/intl-tel-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ import { CountryData, IntlTelInputOptions } from '../model/intl-tel-input-option
})
export class IntlTelInputComponent implements AfterViewInit {

@Input() public cssClass!: string;
@Input() public E164PhoneNumber!: string | null;
@Input() public label!: string;
@Input() public labelCssClass!: string;
@Input() public name = 'intl-tel-input-name';
@Input() public onlyLocalized!: boolean;
@Input() public options: IntlTelInputOptions = {};
@Input() public required!: boolean;
@Input() cssClass!: string;
@Input() E164PhoneNumber!: string | null;
@Input() label!: string;
@Input() labelCssClass!: string;
@Input() name = 'intl-tel-input-name';
@Input() onlyLocalized!: boolean;
@Input() options: IntlTelInputOptions = {};
@Input() required!: boolean;
@Output() private E164PhoneNumberChange = new EventEmitter<string | null>();
@ViewChild('intlTelInput') private _inputElement!: ElementRef;
private _phoneNumber!: string;
Expand All @@ -38,7 +38,7 @@ export class IntlTelInputComponent implements AfterViewInit {
country.name = country.name.replace(/.+\((.+)\)/, '$1'));
}

public ngAfterViewInit(): void {
ngAfterViewInit(): void {
if (this.onlyLocalized) {
IntlTelInputComponent.modifyCountryData();
}
Expand All @@ -63,7 +63,7 @@ export class IntlTelInputComponent implements AfterViewInit {
this.i18nizePhoneNumber();
}

public i18nizePhoneNumber(): void {
i18nizePhoneNumber(): void {
this.E164PhoneNumber = null;
if (this._intlTelInput.isValidNumber()) {
this.E164PhoneNumber = this._intlTelInput.getNumber();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/intl-tel-input-ng.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { IntlTelInputComponent } from './components/intl-tel-input.component';
]
})
export class IntlTelInputNgModule {
public static forRoot(): ModuleWithProviders<IntlTelInputNgModule> {
static forRoot(): ModuleWithProviders<IntlTelInputNgModule> {
return {
ngModule: IntlTelInputNgModule,
providers: []
Expand Down

0 comments on commit eab77a3

Please sign in to comment.