Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"noFallthroughCasesInSwitch": true,<% } %>
"skipLibCheck": true,
"isolatedModules": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "ES2022",
"module": "preserve"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function () {
'projects/my-lib/src/lib/my-lib.ts',
`
function something() {
return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {
return function (originalMethod: any, context: ClassMethodDecoratorContext) {
console.log("someDecorator");
};
}
Expand Down
4 changes: 2 additions & 2 deletions tests/legacy-cli/e2e/tests/i18n/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function setupI18nConfig() {
await writeFile(
'src/app/app.ts',
`
import { Component, Inject, LOCALE_ID } from '@angular/core';
import { Component, inject, LOCALE_ID } from '@angular/core';
import { DatePipe } from '@angular/common';
import { RouterOutlet } from '@angular/router';

Expand All @@ -110,7 +110,7 @@ export async function setupI18nConfig() {
templateUrl: './app.html'
})
export class App {
constructor(@Inject(LOCALE_ID) public locale: string) { }
locale = inject(LOCALE_ID);
title = 'i18n';
jan = new Date(2000, 0, 1);
minutes = 3;
Expand Down
2 changes: 1 addition & 1 deletion tests/legacy-cli/e2e/tests/vitest/tslib-resolution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function () {
'src/app/custom-decorator.ts',
`
export function MyDecorator() {
return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {
return function (originalMethod: any, context: ClassMethodDecoratorContext) {
// do nothing
};
}
Expand Down
Loading