fix(all): lint errors

This commit is contained in:
Manu Mtz.-Almeida
2018-09-24 18:14:05 +02:00
parent b2b5d93d36
commit f8eafa7a21
20 changed files with 43 additions and 49 deletions

View File

@ -51,8 +51,8 @@ Since select uses the alert, action sheet and popover interfaces, options can be
| `multiple` | `multiple` | If true, the select can accept multiple values. | `boolean` |
| `name` | `name` | The name of the control, which is submitted with the form data. | `string` |
| `okText` | `ok-text` | The text to display on the ok button. Default: `OK`. | `string` |
| `placeholder` | `placeholder` | The text to display when the select is empty. | `string` |
| `selectedText` | `selected-text` | The text to display instead of the selected option's value. | `string` |
| `placeholder` | `placeholder` | The text to display when the select is empty. | `string`, `null` |
| `selectedText` | `selected-text` | The text to display instead of the selected option's value. | `string`, `null` |
| `value` | -- | the value of the select. | `any`, `null` |

View File

@ -27,7 +27,7 @@ export class Select implements ComponentInterface {
@State() isExpanded = false;
@State() keyFocus = false;
@State() text?: string;
@State() text?: string | null;
/**
* The mode determines which platform styles to use.
@ -53,7 +53,7 @@ export class Select implements ComponentInterface {
/**
* The text to display when the select is empty.
*/
@Prop() placeholder?: string;
@Prop() placeholder?: string | null;
/**
* The name of the control, which is submitted with the form data.
@ -63,7 +63,7 @@ export class Select implements ComponentInterface {
/**
* The text to display instead of the selected option's value.
*/
@Prop() selectedText?: string;
@Prop() selectedText?: string | null;
/**
* If true, the select can accept multiple values.