@angular/material-date-fns-adapter
Advanced tools
Comparing version
@@ -22,3 +22,3 @@ import * as i0 from '@angular/core'; | ||
today(): Date; | ||
parse(value: any, parseFormat: string | string[]): Date | null; | ||
parse(value: unknown, parseFormat: string | string[]): Date | null; | ||
format(date: Date, displayFormat: string): string; | ||
@@ -34,4 +34,4 @@ addCalendarYears(date: Date, years: number): Date; | ||
*/ | ||
deserialize(value: any): Date | null; | ||
isDateInstance(obj: any): boolean; | ||
deserialize(value: unknown): Date | null; | ||
isDateInstance(obj: unknown): obj is Date; | ||
isValid(date: Date): boolean; | ||
@@ -43,3 +43,3 @@ invalid(): Date; | ||
getSeconds(date: Date): number; | ||
parseTime(value: any, parseFormat: string | string[]): Date | null; | ||
parseTime(value: unknown, parseFormat: string | string[]): Date | null; | ||
addSeconds(date: Date, amount: number): Date; | ||
@@ -46,0 +46,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<DateFnsAdapter, never>; |
{ | ||
"name": "@angular/material-date-fns-adapter", | ||
"version": "20.0.0-next.8", | ||
"version": "20.0.0-next.9", | ||
"description": "Angular Material date-fns Adapter", | ||
@@ -15,3 +15,3 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/material": "20.0.0-next.8", | ||
"@angular/material": "20.0.0-next.9", | ||
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0", | ||
@@ -18,0 +18,0 @@ "date-fns": ">2.20.0 <5.0" |
Sorry, the diff of this file is not supported yet
34649
0.2%