-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create
setFlag
method which allows for setting the IS_LOG
and `IS…
…_PROFILE` flags from downstream library usages.
- Loading branch information
1 parent
ba98038
commit 39a21ad
Showing
7 changed files
with
51 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
export declare const IS_LOG = true; | ||
export declare const IS_PROFILE = false; | ||
export declare const Flags: { | ||
IS_LOG: boolean; | ||
IS_PROFILE: boolean; | ||
}; | ||
/** Set a value for the specified global control flags. */ | ||
export declare function setFlag(flag: keyof typeof Flags, value: boolean): void; | ||
export declare const IS_LOG: boolean, IS_PROFILE: boolean; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.