MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / classCallCheck

Function classCallCheck

code/styling/public/app.js:20050–20054  ·  view source on GitHub ↗
(instance, Constructor)

Source from the content-addressed store, hash-verified

20048});
20049
20050var classCallCheck = function (instance, Constructor) {
20051 if (!(instance instanceof Constructor)) {
20052 throw new TypeError("Cannot call a class as a function");
20053 }
20054};
20055
20056var createClass = function () {
20057 function defineProperties(target, props) {

Callers 8

StyleSheetFunction · 0.85
StyleSheetManagerFunction · 0.85
ServerStyleSheetFunction · 0.85
ThemeProviderFunction · 0.85
BaseStyledComponentFunction · 0.85
StyledComponentFunction · 0.85
ComponentStyleFunction · 0.85
WithThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected