ignore tsc errors on vite-specific imports

or not understood by tsc in any case
This commit is contained in:
Bruno Windels 2021-10-07 15:59:16 +02:00
parent eb60f6717a
commit b65782e13c
2 changed files with 7 additions and 0 deletions

View file

@ -14,7 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// @ts-ignore
import FDBFactory from "fake-indexeddb/lib/FDBFactory.js"; import FDBFactory from "fake-indexeddb/lib/FDBFactory.js";
// @ts-ignore
import FDBKeyRange from "fake-indexeddb/lib/FDBKeyRange.js"; import FDBKeyRange from "fake-indexeddb/lib/FDBKeyRange.js";
import {StorageFactory} from "../matrix/storage/idb/StorageFactory"; import {StorageFactory} from "../matrix/storage/idb/StorageFactory";
import {IDOMStorage} from "../matrix/storage/idb/types"; import {IDOMStorage} from "../matrix/storage/idb/types";

View file

@ -1,7 +1,12 @@
// @ts-ignore
import _downloadSandboxPath from "../../assets/download-sandbox.html?url"; import _downloadSandboxPath from "../../assets/download-sandbox.html?url";
// @ts-ignore
import _workerPath from "../../worker/main.js?url"; import _workerPath from "../../worker/main.js?url";
// @ts-ignore
import olmWasmPath from "@matrix-org/olm/olm.wasm?url"; import olmWasmPath from "@matrix-org/olm/olm.wasm?url";
// @ts-ignore
import olmJsPath from "@matrix-org/olm/olm.js?url"; import olmJsPath from "@matrix-org/olm/olm.js?url";
// @ts-ignore
import olmLegacyJsPath from "@matrix-org/olm/olm_legacy.js?url"; import olmLegacyJsPath from "@matrix-org/olm/olm_legacy.js?url";
export const olmPaths = { export const olmPaths = {