Daniel há 1 ano
ascendente
cometimento
f71f5aaf12
3 ficheiros alterados com 8 adições e 3 eliminações
  1. +1
    -0
      matsen-tool/package-lock.json
  2. +5
    -1
      matsen-tool/package.json
  3. +2
    -2
      matsen-tool/src/app/_components/list/list.component.ts

+ 1
- 0
matsen-tool/package-lock.json Ver ficheiro

@@ -7,6 +7,7 @@
"": {
"name": "matsen-tool",
"version": "0.0.0",
"license": "ISC",
"dependencies": {
"@angular/animations": "^17.0.0",
"@angular/cdk": "^17.0.4",


+ 5
- 1
matsen-tool/package.json Ver ficheiro

@@ -48,5 +48,9 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"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"
}

+ 2
- 2
matsen-tool/src/app/_components/list/list.component.ts Ver ficheiro

@@ -1,5 +1,5 @@
import {PageEvent} from "@angular/material/paginator";
import {error} from "@angular/compiler-cli/src/transformers/util";
import {throwError} from "rxjs";

export class ListComponent{

@@ -19,7 +19,7 @@ export class ListComponent{
}

getData() {
error('implement in child class');
throwError(() => new Error('implement in child class'));
}

handlePageEvent(e: PageEvent) {


Carregando…
Cancelar
Guardar