mmlpx
Version:
mobx model layer paradigm
11 lines • 405 B
JavaScript
/**
* @author Kuitos
* @homepage https://github.com/kuitos/
* @since 2017-08-26
*/
export var incorrectAsClassDecorator = function (decorator) {
throw new SyntaxError("you can't use " + decorator + " decorator with a non-class object");
};
export var incorrectAsClassPropertyDecorator = function (decorator) {
throw new SyntaxError("you can't use " + decorator + " decorator with a class");
};