@backstage/types
Common TypeScript types used within Backstage
Functions
Function |
Description |
---|---|
Creates a deferred promise that can be resolved or rejected later. | |
Converts a HumanDuration to milliseconds. |
Interfaces
Interface |
Description |
---|---|
A type representing all allowed JSON array values. |
Type Aliases
Type Alias |
Description |
---|---|
A deferred promise that can be resolved or rejected later. | |
Human friendly durations object. | |
A type representing all allowed JSON object values. | |
A type representing all allowed JSON primitive values. | |
A type representing all allowed JSON values. | |
Observable sequence of values and errors, see TC39. https://github.com/tc39/proposal-observable This is used as a common return type for observable values and can be created using many different observable implementations, such as zen-observable or RxJS 5. | |
Observer interface for consuming an Observer, see TC39. | |
Subscription returned when subscribing to an Observable, see TC39. |