mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 02:49:29 +08:00
11 lines
402 B
Text
11 lines
402 B
Text
"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 = () => {
|
|
(0, exports.throwError)(`Encountered type error`);
|
|
};
|
|
exports.throwTypescriptError = throwTypescriptError;
|