mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
[next] fix tests (getInitialProps should be static)
This commit is contained in:
@@ -6,7 +6,7 @@ interface NextComponentProps {
|
||||
}
|
||||
|
||||
class ClassNext extends React.Component<NextComponentProps> {
|
||||
async getInitialProps() {
|
||||
static async getInitialProps() {
|
||||
return { example: 'example' };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user