Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. import next from 'next';
  2. const app = next({ dev: isDevelopment });
  3.  
  4. {
  5. "compilerOptions": {
  6. "allowJs": true,
  7. "allowSyntheticDefaultImports": true,
  8. "alwaysStrict": true,
  9. "esModuleInterop": true,
  10. "forceConsistentCasingInFileNames": true,
  11. "jsx": "preserve",
  12. "lib": ["dom", "es2017"],
  13. "module": "commonjs",
  14. "moduleResolution": "node",
  15. "noEmit": true,
  16. "noFallthroughCasesInSwitch": true,
  17. "noImplicitReturns": true,
  18. "noUnusedLocals": true,
  19. "noUnusedParameters": true,
  20. "removeComments": true,
  21. "resolveJsonModule": true,
  22. "sourceMap": true,
  23. "strict": true,
  24. "target": "esnext"
  25. },
  26. "exclude": ["node_modules"]
  27. }
  28.  
  29. Cannot invoke an expression whose type lacks a call signature. Type 'typeof import(".../node_modules/next/types/index")' has no compatible call signatures.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement