Add type declaration for postcss-import

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Patrik Oldsberg
2026-02-09 20:27:30 +01:00
parent 05f4409631
commit 5c95133efa
2 changed files with 5 additions and 1 deletions
@@ -16,7 +16,6 @@
import fs from 'fs-extra';
import postcss from 'postcss';
// @ts-expect-error - no types available
import postcssImport from 'postcss-import';
import {
dirname,
+5
View File
@@ -259,3 +259,8 @@ declare module 'webpack-node-externals' {
}
declare module '@esbuild-kit/cjs-loader' {}
declare module 'postcss-import' {
import { Plugin } from 'postcss';
export default function postcssImport(): Plugin;
}