Skip to content

Commit efd5475

Browse files
authored
chore(lint): fix all code that doesn't pass tslint
* chore(lint): update to work with newer tslint * chore(lint): fix all code that doesnt pass tslint fix all code that doesnt pass tslint
1 parent eb830d4 commit efd5475

File tree

162 files changed

+627
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+627
-471
lines changed

demos/src/alert/pages/page-one/page-one.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ export class PageOne {
5858
buttons: [
5959
{
6060
text: 'Cancel',
61-
handler: (data) => {
61+
handler: () => {
6262
console.log('Cancel clicked');
6363
}
6464
},
6565
{
6666
text: 'Save',
67-
handler: (data) => {
67+
handler: () => {
6868
console.log('Saved clicked');
6969
}
7070
}

demos/src/events/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AppComponent {
2626
this.listenToLoginEvents();
2727
}
2828

29-
openPage(menu: any, page: any) {
29+
openPage(_: any, page: any) {
3030
// find the nav component and set what the root page should be
3131
// reset the nav to remove previous pages and only have this page
3232
// we wouldn't want the back button to show in this scenario

demos/src/item-sliding/pages/page-one/page-one.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class PageOne {
7171
this.expandAction(item, 'downloading', 'Login was downloaded.');
7272
}
7373

74-
expandAction(item: ItemSliding, action: string, text: string) {
74+
expandAction(item: ItemSliding, _: any, text: string) {
7575
// TODO item.setElementClass(action, true);
7676

7777
setTimeout(() => {

package-lock.json

Lines changed: 140 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)