Introduction

Nuxt TypeScript Support comes with 3 packages :

@nuxt/types

Version Downloads

Contains Nuxt TypeScript type definitions.

They are maintained along Nuxt core code on nuxt/nuxt.js repository.

@nuxt/typescript-build

Version Downloads

Nuxt module to use TypeScript in pages, layouts, components, plugins and middlewares.

@nuxt/typescript-runtime

Version Downloads

Nuxt wrapper binary to provide TypeScript runtime support for nuxt.config file, local modules and serverMiddlewares.

Nuxt 2.15 and above comes with runtime TypeScript support built-in so usage of this package is no longer needed nor recommended in those versions.

These packages are intended to only be used with Nuxt 2, from Nuxt 2.10 or above.