1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.createDeprecatedImport = createDeprecatedImport;
|
7 |
|
8 | function createDeprecatedImport() {
|
9 | return function deprecatedImport() {
|
10 | throw new Error('The global import function is not available anymore in v6.0.0. \n' + 'Please create a mathjs instance if you want to import functions. \n' + 'Example:\n' + '\n' + ' import { create, all } from \'mathjs\';\n' + ' const mathjs = create(all);\n' + ' mathjs.import(...);\n');
|
11 | };
|
12 | } |
\ | No newline at end of file |