chore(lint): enable lint check for duplicate vars

This commit is contained in:
Alex Eagle
2016-07-13 10:28:11 -07:00
parent 0426325ef7
commit 4c762a6be3
6 changed files with 36 additions and 28 deletions

View File

@ -37,7 +37,7 @@ export function getComponentInfo(type: Type): ComponentInfo {
if (!selector.match(COMPONENT_SELECTOR)) {
throw new Error('Only selectors matching element names are supported, got: ' + selector);
}
var selector = selector.replace(
selector = selector.replace(
SKEWER_CASE, (all: any /** TODO #9100 */, letter: string) => letter.toUpperCase());
return {
type: type,