12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.throwTypescriptError = exports.throwError = void 0;
|
|
const throwError = (msg) => {
|
|
throw new Error(`[svelte-preprocess] ${msg}`);
|
|
};
|
|
exports.throwError = throwError;
|
|
const throwTypescriptError = () => {
|
|
exports.throwError(`Encountered type error`);
|
|
};
|
|
exports.throwTypescriptError = throwTypescriptError;
|