Skip to content

Commit

Permalink
feat(api): add Nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 8, 2019
1 parent 8fa77c5 commit bed4c3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/api/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ export type Listener = Fn<Event, void>;

export type NumericArray = number[] | TypedArray;

export type Nullable<T> = T | null | undefined;

export type Primitive = number | string | boolean | symbol;

/**
Expand Down

0 comments on commit bed4c3c

Please sign in to comment.