refactor: replace var usage with let/const (#7064)

This commit is contained in:
Manol Donev
2019-03-25 18:09:14 +02:00
committed by GitHub
parent 34fe24732d
commit b436ecde36
75 changed files with 1093 additions and 1085 deletions

View File

@@ -10,32 +10,32 @@ export module inputType {
/**
* Plain text input type.
*/
export var text: string;
export const text: string;
/**
* Password input type.
*/
export var password: string;
export const password: string;
/**
* Email input type.
*/
export var email: string;
export const email: string;
/**
* Number input type.
*/
export var number: string;
export const number: string;
/**
* Decimal input type.
*/
export var decimal: string;
export const decimal: string;
/**
* Phone input type.
*/
export var phone: string;
export const phone: string;
}
/**
@@ -45,22 +45,22 @@ export module capitalizationType {
/**
* No automatic capitalization.
*/
export var none: string;
export const none: string;
/**
* Capitalizes every character.
*/
export var all: string;
export const all: string;
/**
* Capitalize the first word of each sentence.
*/
export var sentences: string;
export const sentences: string;
/**
* Capitalize the first letter of every word.
*/
export var words: string;
export const words: string;
}
/**