Skip to content

Commit bee43cf

Browse files
committed
fix: tell tsc to ignore lack of types on some imports for now
1 parent 226bad4 commit bee43cf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Editor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ import { type FC, useEffect, useRef, useState } from "react";
2525
import CodeEditor from "react-simple-code-editor";
2626

2727
// The following imports can't be re-ordered otherwise things break
28+
// @ts-expect-error TODO: create types for this
2829
import { highlight, languages } from "prismjs/components/prism-core";
2930
import "prismjs/components/prism-hcl";
31+
// @ts-expect-error TODO: create types for this
3032
import "prismjs/themes/prism.css";
3133

3234
// Adds line numbers to the highlight.

src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-expect-error TODO: create types for this
12
import "@fontsource-variable/inter";
23
import { TooltipProvider } from "@/components/Tooltip";
34
import { StrictMode } from "react";

0 commit comments

Comments
 (0)