From 89e95b3f143682ed9a006991bacf45c9dcba4818 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:43:05 +0800 Subject: remove node_modules --- node_modules/@babel/runtime/helpers/builtin/es6/inherits.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 node_modules/@babel/runtime/helpers/builtin/es6/inherits.js (limited to 'node_modules/@babel/runtime/helpers/builtin/es6/inherits.js') diff --git a/node_modules/@babel/runtime/helpers/builtin/es6/inherits.js b/node_modules/@babel/runtime/helpers/builtin/es6/inherits.js deleted file mode 100644 index a1024204..00000000 --- a/node_modules/@babel/runtime/helpers/builtin/es6/inherits.js +++ /dev/null @@ -1,9 +0,0 @@ -import setPrototypeOf from "./setPrototypeOf"; -export default function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - setPrototypeOf(subClass.prototype, superClass && superClass.prototype); - if (superClass) setPrototypeOf(subClass, superClass); -} \ No newline at end of file -- cgit v1.2.3