Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
sass /
types /
util /
Delete
Unzip
Name
Size
Permission
Date
Action
promise_or.d.ts
660
B
-rw-r--r--
2026-06-24 16:16
Save
Rename
/** * A utility type for choosing between synchronous and asynchronous return * values. * * This is used as the return value for plugins like {@link CustomFunction}, * {@link Importer}, and {@link FileImporter} so that TypeScript enforces that * asynchronous plugins are only passed to {@link compileAsync} and {@link * compileStringAsync}, not {@link compile} or {@link compileString}. * * @typeParam sync - If this is `'sync'`, this can only be a `T`. If it's * `'async'`, this can be either a `T` or a `Promise<T>`. * * @category Other */ export type PromiseOr<T, sync extends 'sync' | 'async'> = sync extends 'async' ? T | Promise<T> : T;