From 66faa1d95975df0c832f80bdaa5f90e0901eb6a0 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 26 Sep 2017 04:22:19 +0200 Subject: [PATCH] docs(action-sheet-controller): use const instead of let (#12963) --- src/components/action-sheet/action-sheet-controller.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/action-sheet/action-sheet-controller.ts b/src/components/action-sheet/action-sheet-controller.ts index bee0b68355..1091024b1f 100644 --- a/src/components/action-sheet/action-sheet-controller.ts +++ b/src/components/action-sheet/action-sheet-controller.ts @@ -39,10 +39,10 @@ import { Config } from '../../config/config'; * * export class MyClass{ * - * constructor(public actionSheetCtrl: ActionSheetController) {} + * constructor(public actionSheetCtrl: ActionSheetController) { } * * presentActionSheet() { - * let actionSheet = this.actionSheetCtrl.create({ + * const actionSheet = this.actionSheetCtrl.create({ * title: 'Modify your album', * buttons: [ * { @@ -115,7 +115,7 @@ import { Config } from '../../config/config'; * out first, *then* start the next transition. * * ```ts - * let actionSheet = this.actionSheetCtrl.create({ + * const actionSheet = this.actionSheetCtrl.create({ * title: 'Hello', * buttons: [{ * text: 'Ok',