new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Next.js App Router · all subjects

getting-started/typescript

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

TypeScript support in Next.js

Next.js comes with built-in TypeScript support. To add TypeScript to a project, rename a file to `.ts` or `.tsx` and run `next dev`. Next.js will automatically install the necessary dependencies and add a `tsconfig.json` file with recommended config options. Minimum TypeScript version required is v5.1.0.

TypeScript plugin in VS Code

Next.js includes a custom TypeScript plugin and type checker for advanced type-checking and auto-completion in VS Code and other editors. To enable it in VS Code: open the command palette (Ctrl/⌘ + Shift + P), search for "TypeScript: Select TypeScript Version", and select "Use Workspace Version".

Give your agent this brain