Skip to content

Commit

Permalink
Update test.plugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
imcm7 authored Oct 9, 2023
1 parent 308e735 commit 382181f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/plugins/test.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import chalk from 'chalk';
import consola from 'consola';
import { NitroApp } from 'nitropack';
import { defineNitroPlugin } from 'nitropack/dist/runtime/plugin';
import { User } from './server/entities/user.entity';

export default defineNitroPlugin((nitroApp: NitroApp) => {
console.log(Object.getOwnPropertyNames(User.prototype));
consola.info('test', chalk.blue('test'), chalk.green('test'));
consola.info(colors.gray('copied to clipboard]'), 'test');
consola.info([colors.gray('copied to clipboard]')]);
Expand Down

0 comments on commit 382181f

Please sign in to comment.