Make NonEmptyArray type private/ignored
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
committed by
Joe Porpeglia
parent
6a079788e8
commit
17c9f846bb
@@ -75,9 +75,6 @@ export function isReadPermission(permission: Permission): boolean;
|
||||
// @public
|
||||
export function isUpdatePermission(permission: Permission): boolean;
|
||||
|
||||
// @public
|
||||
export type NonEmptyArray<T> = [T, ...T[]];
|
||||
|
||||
// @public
|
||||
export type NotCriteria<TQuery> = {
|
||||
not: PermissionCriteria<TQuery>;
|
||||
|
||||
@@ -74,9 +74,9 @@ export type PermissionCondition<TParams extends unknown[] = unknown[]> = {
|
||||
|
||||
/**
|
||||
* Utility type to represent an array with 1 or more elements.
|
||||
* @public
|
||||
* @ignore
|
||||
*/
|
||||
export type NonEmptyArray<T> = [T, ...T[]];
|
||||
type NonEmptyArray<T> = [T, ...T[]];
|
||||
|
||||
/**
|
||||
* Represnts a logical AND for the provided criteria.
|
||||
|
||||
@@ -26,7 +26,6 @@ export type {
|
||||
AllOfCriteria,
|
||||
AnyOfCriteria,
|
||||
NotCriteria,
|
||||
NonEmptyArray,
|
||||
} from './api';
|
||||
export type { DiscoveryApi } from './discovery';
|
||||
export type {
|
||||
|
||||
Reference in New Issue
Block a user