lucid-extension-sdk 0.0.103 → 0.0.104

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.
Files changed (2) hide show
  1. package/interop.d.ts +25 -2
  2. package/package.json +1 -1
package/interop.d.ts CHANGED
@@ -7,6 +7,29 @@ declare namespace lucid {
7
7
  }
8
8
 
9
9
  /** @ignore */
10
- declare namespace console {
11
- export function log(...args: any[]): void;
10
+ declare const console: Console;
11
+
12
+ // from lib.dom.d.ts
13
+ /** @ignore */
14
+ interface Console {
15
+ assert(condition?: boolean, ...data: any[]): void;
16
+ clear(): void;
17
+ count(label?: string): void;
18
+ countReset(label?: string): void;
19
+ debug(...data: any[]): void;
20
+ dir(item?: any, options?: any): void;
21
+ dirxml(...data: any[]): void;
22
+ error(...data: any[]): void;
23
+ group(...data: any[]): void;
24
+ groupCollapsed(...data: any[]): void;
25
+ groupEnd(): void;
26
+ info(...data: any[]): void;
27
+ log(...data: any[]): void;
28
+ table(tabularData?: any, properties?: string[]): void;
29
+ time(label?: string): void;
30
+ timeEnd(label?: string): void;
31
+ timeLog(label?: string, ...data: any[]): void;
32
+ timeStamp(label?: string): void;
33
+ trace(...data: any[]): void;
34
+ warn(...data: any[]): void;
12
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "sdk/index.js",
6
6
  "types": "sdk/index.d.ts",