Comparing version 0.0.5 to 0.0.6
@@ -10,3 +10,3 @@ interface IComponentClass extends Function { | ||
export function Input(alias: string): PropertyDecorator { | ||
export function Input(alias?: string): PropertyDecorator { | ||
return function (target: IComponentClass, property: string) { | ||
@@ -21,3 +21,3 @@ if (!target.constructor.bindings) { | ||
export function Output(alias: string): PropertyDecorator { | ||
export function Output(alias?: string): PropertyDecorator { | ||
return function (target: IComponentClass, property: string) { | ||
@@ -73,3 +73,3 @@ if (!target.constructor.bindings) { | ||
export function Component<IComponentClass>(config: {template?: string}): ClassDecorator { | ||
export function Component<IComponentClass>(config?: {template?: string}): ClassDecorator { | ||
return function (target: any) { | ||
@@ -76,0 +76,0 @@ if (config) { |
{ | ||
"name": "ng1-shift", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Angular 1.5+ decorators for writing Angular2 like.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
19280