Make NonEmptyArray type private/ignored

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
Joe Porpeglia
2022-02-11 09:56:17 -05:00
committed by Joe Porpeglia
parent 6a079788e8
commit 17c9f846bb
3 changed files with 2 additions and 6 deletions
-3
View File
@@ -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>;
+2 -2
View File
@@ -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 {