Skip to content

Commit 96af9f2

Browse files
committed
refactor: Pass lint
1 parent 590b1d0 commit 96af9f2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import { ShareComponent } from './vault/share.component';
6262
import { VaultComponent } from './vault/vault.component';
6363
import { ViewComponent } from './vault/view.component';
6464

65+
import { BarComponent } from '../cozy/wrappers/bar/bar.component';
6566
import { BottomMenuComponent } from '../cozy/wrappers/bottom-menu/bottom-menu.component';
6667
import { ButtonExtensionComponent } from '../cozy/wrappers/button-extension/button-extension.component';
6768
import { ConfirmTrustedUsersComponent } from '../cozy/wrappers/confirm-trusted-users/confirm-trusted-users.component';
@@ -72,7 +73,6 @@ import { ImportPageComponent } from '../cozy/wrappers/import-page/import-page.co
7273
import { InstallationPageComponent } from '../cozy/wrappers/installation-page/installation-page.component';
7374
import { SharingPaywallComponent } from '../cozy/wrappers/sharing-paywall/sharing-paywall.component';
7475
import { SharingComponent } from '../cozy/wrappers/sharing/sharing.component';
75-
import { BarComponent } from '../cozy/wrappers/bar/bar.component';
7676

7777
import { FlagConditionalComponent } from '../cozy/components/flag-conditional/flag-conditional.component';
7878
import { IfFlagDirective } from '../cozy/components/flag-conditional/if-flag.directive';

src/cozy/wrappers/bar/bar.component.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import {
88
// @ts-ignore
99
import Bar from './bar.jsx';
1010

11-
interface BarProps extends AngularWrapperProps {}
12-
1311
@Component({
1412
selector: 'app-bar',
1513
templateUrl: '../angular-wrapper.component.html',
@@ -21,11 +19,11 @@ export class BarComponent extends AngularWrapperComponent implements OnChanges {
2119
/* Props Bindings */
2220
/******************/
2321

24-
protected async getProps(): Promise<BarProps> {
22+
protected async getProps(): Promise<AngularWrapperProps> {
2523
const reactWrapperProps = await this.getReactWrapperProps(true);
2624

2725
return {
28-
reactWrapperProps: reactWrapperProps
26+
reactWrapperProps: reactWrapperProps,
2927
};
3028
}
3129

0 commit comments

Comments
 (0)