mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
fix(std/datetime):: 12 and 24 support (#7661)
This commit is contained in:
parent
82db91372f
commit
9c75e4876f
4 changed files with 147 additions and 58 deletions
|
@ -4,12 +4,17 @@ export type Token = {
|
|||
type: string;
|
||||
value: string | number;
|
||||
index: number;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
|
||||
interface ReceiverResult {
|
||||
[name: string]: string | number;
|
||||
export interface ReceiverResult {
|
||||
[name: string]: string | number | unknown;
|
||||
}
|
||||
export type CallbackResult = { type: string; value: string | number };
|
||||
export type CallbackResult = {
|
||||
type: string;
|
||||
value: string | number;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
type CallbackFunction = (value: unknown) => CallbackResult;
|
||||
|
||||
export type TestResult = { value: unknown; length: number } | undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue