Skip to content

Commit 1a93a1a

Browse files
committed
chore: add log types
1 parent 4616e98 commit 1a93a1a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

global.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare var __DEV__: boolean;

src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ export type WizardValues = {
3535
/** Indicate if the current step is the last step (aka no next step) */
3636
isLastStep: boolean;
3737
} | null;
38+
39+
/** Console log levels */
40+
export type LogLevel = 'info' | 'error' | 'warn';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
3-
"include": ["src", "types"],
3+
"include": ["src", "global.d.ts"],
44
"compilerOptions": {
55
"module": "esnext",
66
"lib": ["dom", "esnext"],

0 commit comments

Comments
 (0)