Skip to content

Commit

Permalink
chore: add log types
Browse files Browse the repository at this point in the history
  • Loading branch information
devrnt committed Jan 2, 2021
1 parent 4616e98 commit 1a93a1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare var __DEV__: boolean;
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ export type WizardValues = {
/** Indicate if the current step is the last step (aka no next step) */
isLastStep: boolean;
} | null;

/** Console log levels */
export type LogLevel = 'info' | 'error' | 'warn';
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
"include": ["src", "types"],
"include": ["src", "global.d.ts"],
"compilerOptions": {
"module": "esnext",
"lib": ["dom", "esnext"],
Expand Down

0 comments on commit 1a93a1a

Please sign in to comment.