summaryrefslogtreecommitdiff
path: root/node_modules/css-unit-converter/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/css-unit-converter/index.d.ts')
-rw-r--r--node_modules/css-unit-converter/index.d.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/css-unit-converter/index.d.ts b/node_modules/css-unit-converter/index.d.ts
new file mode 100644
index 00000000..f8b96da7
--- /dev/null
+++ b/node_modules/css-unit-converter/index.d.ts
@@ -0,0 +1,10 @@
+declare module 'css-unit-converter' {
+ export type CSSUnits = 'px' | 'cm' | 'mm' | 'in' | 'pt' | 'pc' | 'deg' | 'grad' | 'rad' | 'turn' | 's' | 'ms' | 'Hz' | 'kHz' | 'dpi' | 'dpcm' | 'dppx';
+
+ export default function (
+ value: number,
+ sourceUnit: CSSUnits,
+ targetUnit: CSSUnits,
+ precision?: number
+ ): number;
+}