File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
151151 "browser" : {
152152 "fs" : false
153153 }
154- }
154+ }
Original file line number Diff line number Diff line change 11import {
22 ChangeDetectionStrategy ,
3- Component ,
4- OnInit
3+ Component
54} from '@angular/core' ;
65
76import {
@@ -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 ( ) ;
Original file line number Diff line number Diff 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' ;
1616import { 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
2121import { ChatModule } from './chat.module' ;
2222
Original file line number Diff line number Diff 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' ;
2323import { 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 : [
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments