Skip to content

Commit

Permalink
[@mantine/next] Fix possible ts strict mode collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Apr 9, 2022
1 parent d845b14 commit e99ae7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-next/src/create-get-initial-props.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import NextDocument, { DocumentContext } from 'next/document';
import { ServerStyles, createStylesServer } from '@mantine/ssr';

export function createGetInitialProps() {
export function createGetInitialProps(): (ctx: DocumentContext) => any {
const stylesServer = createStylesServer();

return async function getInitialProps(ctx: DocumentContext) {
Expand Down

0 comments on commit e99ae7c

Please sign in to comment.