Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var _this = this;
if (type === void 0) { type = 'success'; }
return new Promise(function () {
_this.snackbar = {
isMobile: false,
message: {
messageText: message,
messageType: type,
},
seconds: 5000,
};
_this.inform();
});
};
return SnackbarService;
}(uno_js_1.SimpleObservable));
exports.snackbarService = new SnackbarService();
//# sourceMappingURL=SnackbarService.js.map