We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const consola = require('consola')
1 parent 940474d commit 5c22d8cCopy full SHA for 5c22d8c
types/consola.d.ts
@@ -94,3 +94,5 @@ export declare class BrowserReporter implements ConsolaReporter {
94
declare const consolaGlobalInstance: Consola;
95
96
export default consolaGlobalInstance
97
+
98
+export = consolaGlobalInstance
This doesn't work
ERROR ERROR in ./node_modules/consola/types/consola.d.ts(98,1): nuxt:typescript 11:30:28 98:1 An export assignment cannot be used in a module with other exported elements. 96 | export default consolaGlobalInstance 97 | > 98 | export = consolaGlobalInstance | ^ 99 | ℹ Version: typescript 3.7.4 nuxt:typescript 11:30:28 ℹ Time: 15081ms nuxt:typescript 11:30:28 ℹ Waiting for file changes 11:30:28 ℹ Memory usage: 638 MB (RSS: 1.23 GB)
I have the exact same problem...
Reverted in v2.11.3
3 commit comments
jjelev commentedon Dec 29, 2019
This doesn't work
remipe-utbm commentedon Dec 31, 2019
I have the exact same problem...
pi0 commentedon Dec 31, 2019
Reverted in v2.11.3