summaryrefslogtreecommitdiff
path: root/node_modules/css-declaration-sorter/src/main.d.ts
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/css-declaration-sorter/src/main.d.ts
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/css-declaration-sorter/src/main.d.ts')
-rw-r--r--node_modules/css-declaration-sorter/src/main.d.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/node_modules/css-declaration-sorter/src/main.d.ts b/node_modules/css-declaration-sorter/src/main.d.ts
deleted file mode 100644
index 257704b6..00000000
--- a/node_modules/css-declaration-sorter/src/main.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { PluginCreator } from 'postcss';
-
-declare const cssDeclarationSorter: PluginCreator<{
- /**
- Provide the name of one of the built-in sort orders or a comparison function that is passed to `Array.sort`.
-
- @default 'alphabetical'
- */
- order?: SortOrder | SortFunction | undefined;
-
- /**
- To prevent breaking legacy CSS where shorthand declarations override longhand declarations. For example `animation-name: some; animation: greeting;` will be kept in this order.
-
- @default false
- */
- keepOverrides?: boolean;
-}>;
-
-export = cssDeclarationSorter;
-
-type SortOrder = 'alphabetical' | 'concentric-css' | 'smacss';
-
-/**
- * This function receives two declaration property names and is expected
- * to return -1, 0 or 1 depending on the wanted order.
- */
-type SortFunction = (propertyNameA: string, propertyNameB: string) => -1 | 0 | 1;