Compare commits

..

No commits in common. "55f9050dc990689f0f0b8674caa62e4eb02489be" and "13e639fa8d085a5464ebd9df33c7d778492206c4" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -11,14 +11,14 @@
"main": "dist/index.js",
"files": [
"dist",
"tsconfig.json"
"tsconfig.ts"
],
"scripts": {
"build": "tsc",
"prepare": "npm run build"
},
"dependencies": {
"zod": "^3.22.2"
"zod": "^3.22.1"
},
"devDependencies": {
"prettier": "^2.8.8",

View File

@ -7,8 +7,8 @@ export class NotificationItem implements TNotificationItem {
code: string
text: string
constructor(args: { text: string, code?: string }) {
constructor(args: { code: string; text: string }) {
this.code = args.code
this.text = args.text
this.code = args.code || 'info'
}
}