-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from Drawbotics/feature/typescript-mdx
Feature/typescript mdx
- Loading branch information
Showing
14 changed files
with
1,041 additions
and
341 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
declare global { | ||
interface Window { | ||
_drylus: any; | ||
} | ||
} | ||
|
||
export {}; |
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 @@ | ||
declare module '*.jsx'; |
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,37 @@ | ||
declare module '@mdx-js/react' { | ||
import * as React from 'react'; | ||
type ComponentType = | ||
| 'a' | ||
| 'blockquote' | ||
| 'code' | ||
| 'delete' | ||
| 'em' | ||
| 'h1' | ||
| 'h2' | ||
| 'h3' | ||
| 'h4' | ||
| 'h5' | ||
| 'h6' | ||
| 'hr' | ||
| 'img' | ||
| 'inlineCode' | ||
| 'li' | ||
| 'ol' | ||
| 'p' | ||
| 'pre' | ||
| 'strong' | ||
| 'sup' | ||
| 'table' | ||
| 'td' | ||
| 'thematicBreak' | ||
| 'tr' | ||
| 'ul'; | ||
export type Components = { | ||
[key in ComponentType]?: React.ComponentType<any>; | ||
}; | ||
export interface MDXProviderProps { | ||
children: React.ReactNode; | ||
components: Components; | ||
} | ||
export class MDXProvider extends React.Component<MDXProviderProps> {} | ||
} |
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 @@ | ||
declare module '@drawbotics/use-screen-size'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": ["node_modules", "./dist"], | ||
} |
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,30 @@ | ||
{ | ||
"compilerOptions": { | ||
"jsx": "preserve", | ||
"moduleResolution": "node", | ||
"allowJs": false, | ||
"esModuleInterop": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"target": "ES2018", | ||
"sourceMap": false, | ||
"outDir": "./dist", | ||
"incremental": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"strict": true, | ||
"baseUrl": "./", | ||
"declaration": true, | ||
"declarationMap": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"resolveJsonModule": true, | ||
"paths": { | ||
"~/*": ["./app/*"] | ||
} | ||
}, | ||
"include": [ | ||
"./app/**/*.tsx", | ||
"./app/**/*.ts" | ||
] | ||
} |
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