18 lines
327 B
TypeScript
18 lines
327 B
TypeScript
export type Optional<T> = T | null;
|
|
|
|
/**
|
|
* Type to remind you that we're dealing with milliseconds.
|
|
*/
|
|
export type Milliseconds = number;
|
|
|
|
/**
|
|
* Type to remind you that we're dealing with seconds.
|
|
*/
|
|
export type Seconds = number;
|
|
|
|
|
|
/**
|
|
* Type to remind you that we're dealing with meters.
|
|
*/
|
|
export type Meters = number;
|