Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
11 lines
459 B
Plaintext
11 lines
459 B
Plaintext
import type { TSchema, SchemaOptions } from '../schema/index.mjs';
|
|
import type { Static } from '../static/index.mjs';
|
|
import { Kind } from '../symbols/index.mjs';
|
|
export interface TNot<T extends TSchema = TSchema> extends TSchema {
|
|
[Kind]: 'Not';
|
|
static: T extends TNot<infer U> ? Static<U> : unknown;
|
|
not: T;
|
|
}
|
|
/** `[Json]` Creates a Not type */
|
|
export declare function Not<Type extends TSchema>(type: Type, options?: SchemaOptions): TNot<Type>;
|