Skip to content

Instantly share code, notes, and snippets.

@phenomnomnominal
Last active May 30, 2019 05:23
Show Gist options
  • Save phenomnomnominal/ff4fb8084ee12a48f50651d24fad39cc to your computer and use it in GitHub Desktop.
Save phenomnomnominal/ff4fb8084ee12a48f50651d24fad39cc to your computer and use it in GitHub Desktop.
import * as tslib_1 from "tslib";
import { Component, Input } from "@angular/core";
import { Value, isBool, isNotNull } from "@trademe/ensure";
var HelloComponent = (function () {
function HelloComponent() { }
HelloComponent.decorators = [{
type: Component,
args: [{
selector: "hello"
// ...
}]
}];
HelloComponent.propDecorators = {
primary: [{ type: Input }]
};
tslib_1.__decorate([
Value(isBool, isNotNull),
tslib_1.__metadata("design:type", Boolean)
], HelloComponent.prototype, "primary", void 0);
return HelloComponent;
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment