forked from AnYiEE/AwesomeGadgets
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
4 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* eslint-disable unicorn/no-empty-file */ | ||
// 如果使用 jsx-dom,则取消注释以下行 / To Use jsx-dom, uncomment the following line | ||
// export * from 'jsx-dom'; |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"enable": false | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module 'ext.gadget.React' { | ||
// 如果使用 jsx-dom,则取消注释以下行 / To Use jsx-dom, uncomment the following line | ||
// export * from 'jsx-dom'; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @summary For import styles in TypeScript | ||
*/ | ||
declare module '*.css'; | ||
declare module '*.less'; | ||
declare module '*.module.css' { | ||
const classes: {[key: string]: string}; | ||
export default classes; | ||
} | ||
|
||
declare module '*.module.less' { | ||
const classes: {[key: string]: string}; | ||
export default classes; | ||
} | ||
|
||
/** | ||
* @summary Do not forget to declare these file extensions in `scripts/build-esbuild_options.ts` | ||
* @see {@link https://esbuild.github.io/api/#loader} | ||
*/ | ||
declare module '*.gif'; | ||
declare module '*.ico'; | ||
declare module '*.jpg'; | ||
declare module '*.jpeg'; | ||
declare module '*.png'; | ||
declare module '*.svg'; |