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