Skip to content

Commit a4282ff

Browse files
author
VladimirAmiorkov
committed
chore: remove object cast as it is not needed
1 parent 9cfa127 commit a4282ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nativescript-angular/directives/dialogs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class ModalDialogService {
148148

149149
// TODO: remove <any> cast after https://github.com/NativeScript/NativeScript/pull/5734
150150
// is in a published version of tns-core-modules.
151-
(<any>options.parentView).showModal(componentView, { ...options, closeCallback });
151+
options.parentView.showModal(componentView, { ...options, closeCallback });
152152
});
153153
}
154154
}

0 commit comments

Comments
 (0)