Skip to content

Commit

Permalink
Add named exports for ambient module console
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Jul 26, 2024
1 parent aa69a96 commit d9199bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/generator-typescript/templates/gjs/gjs-ambient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare module 'cairo' {
}

declare module 'console' {
import Console from '@girs/gjs/console';
import Console, { setConsoleLogDomain, getConsoleLogDomain, DEFAULT_LOG_DOMAIN } from '@girs/gjs/console';
export { setConsoleLogDomain, getConsoleLogDomain, DEFAULT_LOG_DOMAIN }
export default Console;
}

0 comments on commit d9199bb

Please sign in to comment.