style(utils): fix lint error

This commit is contained in:
Brandy Carney
2018-09-24 18:05:13 -04:00
parent 5b3f0c326c
commit cd4628da4d
2 changed files with 5 additions and 5 deletions

View File

@@ -441,7 +441,7 @@ export namespace Components {
/**
* The icon name to use for the back button.
*/
'icon'?: string;
'icon'?: string | null;
/**
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
*/
@@ -449,7 +449,7 @@ export namespace Components {
/**
* The text to display in the back button.
*/
'text'?: string;
'text'?: string | null;
}
interface IonBackButtonAttributes extends StencilHTMLAttributes {
/**
@@ -463,7 +463,7 @@ export namespace Components {
/**
* The icon name to use for the back button.
*/
'icon'?: string;
'icon'?: string | null;
/**
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
*/
@@ -471,7 +471,7 @@ export namespace Components {
/**
* The text to display in the back button.
*/
'text'?: string;
'text'?: string | null;
}
interface IonBackdrop {

View File

@@ -53,7 +53,7 @@ export function hapticSelectionEnd() {
* Use this to indicate success/failure/warning to the user.
* options should be of the type `{ type: 'success' }` (or `warning`/`error`)
*/
export function hapticNotification(options: { type: 'success' | 'warning' | 'error' }) {
export function hapticNotification(options: { type: 'success' | 'warning' | 'error' }) {
const engine = (window as any).TapticEngine;
if (engine) {
engine.notification(options);