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:
@@ -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,
|
||||
|
||||
Vendored
+5
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user