We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6ffd5 commit cc797b6Copy full SHA for cc797b6
src/utils/logger.ts
@@ -1,16 +1,12 @@
1
// logger.ts
2
-import Signale from 'signale';
+import { Signale } from 'signale';
3
import chalk from 'chalk';
4
5
class Logger {
6
/**
7
* Instance of Signale for logging messages.
8
*/
9
10
- /**
11
- * @note Instead of using `private signale: Signale;`, I am using `InstanceType<typeof Signale>` to tell
12
- * typescript, "Hey, signale is an instance of the {@link Signale} class."
13
- */
14
private signale: InstanceType<typeof Signale>;
15
16
constructor(scope?: string) {
0 commit comments