Export the default in the raw module declaration so the typecheck compiles.
This commit is contained in:
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
declare module '*?raw' {
|
declare module '*?raw' {
|
||||||
const content: string;
|
const content: string;
|
||||||
default content;
|
export default content;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module '/@playground/live.tsx' {
|
declare module '/@playground/live.tsx' {
|
||||||
|
|||||||
Reference in New Issue
Block a user