mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
Add basic types to get started
This commit is contained in:
parent
20823bfc87
commit
780124c2f5
16
types.ts
Normal file
16
types.ts
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export declare const Module: {
|
||||||
|
register(moduleName: string, moduleProperties: object): void;
|
||||||
|
};
|
||||||
|
|
||||||
|
export declare const Log: {
|
||||||
|
info(message?: any, ...optionalParams: any[]): void,
|
||||||
|
log(message?: any, ...optionalParams: any[]): void,
|
||||||
|
error(message?: any, ...optionalParams: any[]): void,
|
||||||
|
warn(message?: any, ...optionalParams: any[]): void,
|
||||||
|
group(groupTitle?: string, ...optionalParams: any[]): void,
|
||||||
|
groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void,
|
||||||
|
groupEnd(): void,
|
||||||
|
time(timerName?: string): void,
|
||||||
|
timeEnd(timerName?: string): void,
|
||||||
|
timeStamp(timerName?: string): void,
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user