mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-05-24 13:10:14 +08:00
8 lines
281 B
TypeScript
8 lines
281 B
TypeScript
declare const symbol: unique symbol;
|
|
export type CommandOptions<T> = T & {
|
|
readonly [symbol]: true;
|
|
};
|
|
export declare function commandOptions<T>(options: T): CommandOptions<T>;
|
|
export declare function isCommandOptions<T>(options: any): options is CommandOptions<T>;
|
|
export {};
|