-
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.
- Loading branch information
Manuel Ruck
committed
Jul 13, 2019
1 parent
8f7202c
commit 6125d89
Showing
8 changed files
with
390 additions
and
833 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
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,2 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> |
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
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 |
---|---|---|
@@ -1,22 +1,38 @@ | ||
{ | ||
"extends": "../tsconfig.settings.json", | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"jsx": "preserve", | ||
"lib": ["dom", "es6", "es2017", "esnext.asynciterable"], | ||
"plugins": [ | ||
{ | ||
"name": "typescript-tslint-plugin", | ||
"alwaysShowRuleFailuresAsWarnings": false, | ||
"ignoreDefinitionFiles": true, | ||
"configFile": "../tslint.json", | ||
"suppressWhileTypeErrorsPresent": false, | ||
"mockTypeScriptVersion": false | ||
} | ||
] | ||
}, | ||
"exclude": [ | ||
"node_modules", "apollo-components.tsx" | ||
] | ||
} | ||
"extends": "../tsconfig.settings.json", | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"jsx": "preserve", | ||
"lib": [ | ||
"dom", | ||
"es6", | ||
"es2017", | ||
"esnext.asynciterable" | ||
], | ||
"plugins": [ | ||
{ | ||
"name": "typescript-tslint-plugin", | ||
"alwaysShowRuleFailuresAsWarnings": false, | ||
"ignoreDefinitionFiles": true, | ||
"configFile": "../tslint.json", | ||
"suppressWhileTypeErrorsPresent": false, | ||
"mockTypeScriptVersion": false | ||
} | ||
], | ||
"forceConsistentCasingInFileNames": true, | ||
"noEmit": true, | ||
"module": "esnext", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"apollo-components.tsx" | ||
], | ||
"include": [ | ||
"next-env.d.ts", | ||
"**/*.ts", | ||
"**/*.tsx" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { NormalizedCacheObject } from 'apollo-cache-inmemory'; | ||
import ApolloClient from 'apollo-client'; | ||
import { NextContext } from 'next'; | ||
import { NextPageContext } from 'next'; | ||
|
||
export interface INextContextWithApollo extends NextContext { | ||
export interface INextContextWithApollo extends NextPageContext { | ||
apolloClient: ApolloClient<NormalizedCacheObject>; | ||
} |
Oops, something went wrong.