🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ng1-shift

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng1-shift - npm Package Compare versions

Comparing version

to
0.0.6

6

index.ts

@@ -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",