Created
March 15, 2019 16:01
-
-
Save jokester/709a7a95b3487d5e7ada99a3143ef399 to your computer and use it in GitHub Desktop.
typescript declaration of next-mui-helper
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
// TYPE_ROOT/next-mui-helper/index.d.ts | |
declare module 'next-mui-helper/nextjs/makeNextDocument' { | |
import { Theme } from "@material-ui/core"; | |
const makeNextDocument: (muiTheme?: Theme) => React.Component; | |
export = makeNextDocument; | |
} | |
declare module 'next-mui-helper/nextjs/makeNextApp' { | |
import { Theme } from "@material-ui/core"; | |
const makeNextApp: (muiTheme?: Theme, layout?: React.Component) => React.Component; | |
export = makeNextApp; | |
} | |
declare module 'next-mui-helper/mui/withParts' { | |
import { Theme } from "@material-ui/core"; | |
const withParts: ( | |
muiTheme?: Theme, | |
layout?: React.Component, | |
enableNProgress?: boolean, | |
enableCssBaseline?: boolean | |
) => <T extends React.ComponentClass<any>>(part: T) => typeof part; | |
export = withParts; | |
} | |
declare module 'next-mui-helper/mui/defaultTheme' { | |
import { Theme } from "@material-ui/core"; | |
const defaultTheme: Theme; | |
export = defaultTheme; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment