forked from QwikDev/qwik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e937197
commit 147426a
Showing
3 changed files
with
108 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
/* Allows Typescript to import .css files */ | ||
declare module '*.css' { | ||
const content: string; | ||
export default content; | ||
} | ||
|
||
/* Allows Typescript to import .gif files */ | ||
declare module '*.gif' { | ||
const content: string; | ||
export default content; | ||
} | ||
|
||
/* Allows Typescript to import .jpg files */ | ||
declare module '*.jpg' { | ||
const content: string; | ||
export default content; | ||
} | ||
|
||
/* Allows Typescript to import .png files */ | ||
declare module '*.png' { | ||
const content: string; | ||
export default content; | ||
} | ||
|
||
/* Allows Typescript to import .svg files */ | ||
declare module '*.svg' { | ||
const content: string; | ||
export default content; | ||
} | ||
/** | ||
* Add custom global types in this file | ||
*/ | ||
|
||
// declare module '*.css' { | ||
// const content: string; | ||
// export default content; | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters