Skip to content

Commit 3e9ab0d

Browse files
committed
FIX build
1 parent 1a39b42 commit 3e9ab0d

5 files changed

Lines changed: 16 additions & 17 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"@angular/language-service": "17.1.2",
128128
"@types/faker": "5.5.9",
129129
"@types/lokijs": "1.5.12",
130-
"@types/node": "16.18.61",
130+
"@types/node": "20.11.16",
131131
"@types/pouchdb": "6.4.2",
132132
"@types/pouchdb-find": "7.3.3",
133133
"@types/ws": "8.5.9",
@@ -151,4 +151,4 @@
151151
"browser": {
152152
"fs": false
153153
}
154-
}
154+
}

src/app/app.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
ChangeDetectionStrategy,
3-
Component,
4-
OnInit
3+
Component
54
} from '@angular/core';
65

76
import {
@@ -21,7 +20,7 @@ export function simulateAsync(): Promise<void> {
2120
templateUrl: './app.component.html',
2221
changeDetection: ChangeDetectionStrategy.OnPush
2322
})
24-
export class AppComponent implements OnInit {
23+
export class AppComponent {
2524
title = 'blueprint';
2625

2726
public logic: LogicInterface = new Logic();

src/app/app.module.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import { AppComponent } from './app.component';
1111
*/
1212

1313
/* material */
14-
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
15-
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
14+
import { MatInputModule } from '@angular/material/input';
15+
import { MatFormFieldModule } from '@angular/material/form-field';
1616
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
17-
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
18-
import { MatLegacyCheckboxModule as MatCheckboxModule } from '@angular/material/legacy-checkbox';
19-
import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
17+
import { MatButtonModule } from '@angular/material/button';
18+
import { MatCheckboxModule } from '@angular/material/checkbox';
19+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
2020

2121
import { ChatModule } from './chat.module';
2222

src/app/chat.module.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import { ChatComponent } from './components/chat/chat.component';
1818
*/
1919

2020
/* material */
21-
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
22-
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
21+
import { MatInputModule } from '@angular/material/input';
22+
import { MatFormFieldModule } from '@angular/material/form-field';
2323
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
24-
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
25-
import { MatLegacyCheckboxModule as MatCheckboxModule } from '@angular/material/legacy-checkbox';
26-
import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
24+
import { MatButtonModule } from '@angular/material/button';
25+
import { MatCheckboxModule } from '@angular/material/checkbox';
26+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
2727

2828
@NgModule({
2929
declarations: [
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
1+
import { ChangeDetectionStrategy, Component } from '@angular/core';
22

33
@Component({
44
selector: 'app-message-box',
55
templateUrl: './message-box.component.html',
66
styleUrls: ['./message-box.component.less'],
77
changeDetection: ChangeDetectionStrategy.OnPush
88
})
9-
export class MessageBoxComponent implements OnInit {
9+
export class MessageBoxComponent {
1010

1111
constructor() { }
1212
}

0 commit comments

Comments
 (0)