| @@ -7,6 +7,7 @@ | |||||
| "": { | "": { | ||||
| "name": "matsen-tool", | "name": "matsen-tool", | ||||
| "version": "0.0.0", | "version": "0.0.0", | ||||
| "license": "ISC", | |||||
| "dependencies": { | "dependencies": { | ||||
| "@angular/animations": "^17.0.0", | "@angular/animations": "^17.0.0", | ||||
| "@angular/cdk": "^17.0.4", | "@angular/cdk": "^17.0.4", | ||||
| @@ -48,5 +48,9 @@ | |||||
| "karma-jasmine": "~5.1.0", | "karma-jasmine": "~5.1.0", | ||||
| "karma-jasmine-html-reporter": "~2.1.0", | "karma-jasmine-html-reporter": "~2.1.0", | ||||
| "typescript": "~5.2.2" | "typescript": "~5.2.2" | ||||
| } | |||||
| }, | |||||
| "description": "This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.7.", | |||||
| "main": "index.js", | |||||
| "author": "", | |||||
| "license": "ISC" | |||||
| } | } | ||||
| @@ -1,5 +1,5 @@ | |||||
| import {PageEvent} from "@angular/material/paginator"; | import {PageEvent} from "@angular/material/paginator"; | ||||
| import {error} from "@angular/compiler-cli/src/transformers/util"; | |||||
| import {throwError} from "rxjs"; | |||||
| export class ListComponent{ | export class ListComponent{ | ||||
| @@ -19,7 +19,7 @@ export class ListComponent{ | |||||
| } | } | ||||
| getData() { | getData() { | ||||
| error('implement in child class'); | |||||
| throwError(() => new Error('implement in child class')); | |||||
| } | } | ||||
| handlePageEvent(e: PageEvent) { | handlePageEvent(e: PageEvent) { | ||||