0.0.2 • Published 7 months ago

@types/simple-time-input-engine v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/simple-time-input-engine

Summary

This package contains type definitions for simple-time-input-engine (https://github.com/Citifyd/simple-time-input-engine#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-time-input-engine.

index.d.ts

// Type definitions for simple-time-input-engine 0.0
// Project: https://github.com/Citifyd/simple-time-input-engine#readme
// Definitions by: Chethan S <https://github.com/repl-chethan-s>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function formatTimeForDisplay({ time, clockMode }: { time: string; clockMode: number }): string;

export function parseInputChange({
    newValue,
    previousTime,
    clockMode,
}: {
    newValue: string;
    previousTime: string;
    clockMode: number;
}): { time: string; valid: boolean };

Additional Details

  • Last updated: Mon, 30 Aug 2021 07:31:22 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Chethan S.