Skip to main content
Version: v2


NativeWind extends the React Native types via declaration merging. The simplest method to include the types is to create a new app.d.ts file and add a triple-slash directive referencing the types.

/// <reference types="nativewind/types" />

Do not call this file nativewind.d.ts, it will cause your Typescript module resolution to fail.