Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/docs/getting-started/installation/_typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ If you're using TypeScript in your project, you'll need to set up the type defin

```tsx
/// <reference types="nativewind/types" />
declare module '*.css';
```

<Callout type="warn" title="CAUTION">
Expand All @@ -15,4 +16,4 @@ Do not call this file:
- The same name as a folder in `node_modules`, e.g `react.d.ts`

By doing so, your types will not be picked up by the TypeScript compiler.
</Callout>
</Callout>