@design-edito/tools 0.0.26 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -1 +1 @@
1
- export default function getDocument(): Promise<any>;
1
+ export default function getDocument(): Promise<Document>;
@@ -1 +1 @@
1
- export default function selectorToElement(selector: string, documentObj?: Document): Promise<any>;
1
+ export default function selectorToElement(selector: string, documentObj?: Document): Promise<HTMLElement>;
@@ -1,13 +1,13 @@
1
1
  export declare function makeTextBlock(text: string, vPadding?: number, hPadding?: number): string;
2
2
  export declare const styles: {
3
3
  regular: (text: string) => string;
4
- light: (text: string) => any;
5
- danger: (text: string) => any;
6
- important: (text: string) => any;
4
+ light: (text: string) => string;
5
+ danger: (text: string) => string;
6
+ important: (text: string) => string;
7
7
  title: (text: string) => string;
8
- info: (text: string) => any;
9
- error: (text: string) => any;
10
- warning: (text: string) => any;
8
+ info: (text: string) => string;
9
+ error: (text: string) => string;
10
+ warning: (text: string) => string;
11
11
  };
12
12
  type ConsoleMethod = 'assert' | 'count' | 'countReset' | 'debug' | 'dir' | 'dirxml' | 'error' | 'group' | 'groupCollapsed' | 'groupEnd' | 'info' | 'log' | 'table' | 'time' | 'timeEnd' | 'trace' | 'warn';
13
13
  type ConsoleMethodsParams = {