Skip to content

Commit

Permalink
fix(decorator): add ExportDecoratedItems jsdoc for g3 (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
robwormald authored and brandonroberts committed Oct 5, 2017
1 parent 46d6f2f commit 2b0e0cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/effects/src/effects_metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ function setEffectMetadataEntries(sourceProto: any, entries: EffectMetadata[]) {
Array.prototype.push.apply(meta, entries);
}

/**
* @ExportDecoratedItems
*/
export function Effect({ dispatch } = { dispatch: true }): PropertyDecorator {
return function(target: any, propertyName: string) {
const metadata: EffectMetadata = { propertyName, dispatch };
Expand Down

0 comments on commit 2b0e0cf

Please sign in to comment.