balena-supervisor/typings/global.d.ts
Cameron Diver 2a27b1d51f Move to resin-lint 3 and fix lint errors
This is a massive commit, but nothing related to runtime has actually
changed, only the lint errors have changed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-26 18:54:09 +01:00

8 lines
141 B
TypeScript

interface Dictionary<T> {
[key: string]: T;
}
type Callback<T> = (err?: Error, res?: T) => void;
type Nullable<T> = T | null | undefined;