Skip to content

Instantly share code, notes, and snippets.

@phenomnomnominal
Last active May 30, 2019 05:21
Show Gist options
  • Save phenomnomnominal/dd8291d73b038f0062615d952843c21d to your computer and use it in GitHub Desktop.
Save phenomnomnominal/dd8291d73b038f0062615d952843c21d 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() { }
tslib_1.__decorate([
Value(isBool, isNotNull),
Input(),
tslib_1.__metadata("design:type", Boolean)
], HelloComponent.prototype, "primary", void 0);
HelloComponent = tslib_1.__decorate([
Component({
selector: 'hello'
// ...
})
], HelloComponent);
return HelloComponent;
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment