Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
type-fest /
source /
[ HOME SHELL ]
Name
Size
Permission
Action
async-return-type.d.ts
715
B
-rw-rw-rw-
asyncify.d.ts
1.19
KB
-rw-rw-rw-
basic.d.ts
1.62
KB
-rw-rw-rw-
conditional-except.d.ts
1012
B
-rw-rw-rw-
conditional-keys.d.ts
1.17
KB
-rw-rw-rw-
conditional-pick.d.ts
933
B
-rw-rw-rw-
entries.d.ts
2.42
KB
-rw-rw-rw-
entry.d.ts
2.7
KB
-rw-rw-rw-
except.d.ts
886
B
-rw-rw-rw-
fixed-length-array.d.ts
1.45
KB
-rw-rw-rw-
iterable-element.d.ts
1.25
KB
-rw-rw-rw-
literal-union.d.ts
1.11
KB
-rw-rw-rw-
merge-exclusive.d.ts
1.31
KB
-rw-rw-rw-
merge.d.ts
531
B
-rw-rw-rw-
mutable.d.ts
1.76
KB
-rw-rw-rw-
opaque.d.ts
2.61
KB
-rw-rw-rw-
package-json.d.ts
13.74
KB
-rw-rw-rw-
partial-deep.d.ts
2.26
KB
-rw-rw-rw-
promisable.d.ts
775
B
-rw-rw-rw-
promise-value.d.ts
1.03
KB
-rw-rw-rw-
readonly-deep.d.ts
1.79
KB
-rw-rw-rw-
require-at-least-one.d.ts
848
B
-rw-rw-rw-
require-exactly-one.d.ts
1.23
KB
-rw-rw-rw-
set-optional.d.ts
911
B
-rw-rw-rw-
set-required.d.ts
914
B
-rw-rw-rw-
set-return-type.d.ts
1.66
KB
-rw-rw-rw-
simplify.d.ts
133
B
-rw-rw-rw-
stringified.d.ts
416
B
-rw-rw-rw-
tsconfig-json.d.ts
16.44
KB
-rw-rw-rw-
typed-array.d.ts
363
B
-rw-rw-rw-
union-to-intersection.d.ts
1.92
KB
-rw-rw-rw-
utilities.d.ts
322
B
-rw-rw-rw-
value-of.d.ts
829
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : entry.d.ts
type MapKey<BaseType> = BaseType extends Map<infer KeyType, unknown> ? KeyType : never; type MapValue<BaseType> = BaseType extends Map<unknown, infer ValueType> ? ValueType : never; export type ArrayEntry<BaseType extends readonly unknown[]> = [number, BaseType[number]]; export type MapEntry<BaseType> = [MapKey<BaseType>, MapValue<BaseType>]; export type ObjectEntry<BaseType> = [keyof BaseType, BaseType[keyof BaseType]]; export type SetEntry<BaseType> = BaseType extends Set<infer ItemType> ? [ItemType, ItemType] : never; /** Many collections have an `entries` method which returns an array of a given object's own enumerable string-keyed property [key, value] pairs. The `Entry` type will return the type of that collection's entry. For example the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries|`Object`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/entries|`Map`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries|`Array`}, and {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries|`Set`} collections all have this method. Note that `WeakMap` and `WeakSet` do not have this method since their entries are not enumerable. @see `Entries` if you want to just access the type of the array of entries (which is the return of the `.entries()` method). @example ``` import {Entry} from 'type-fest'; interface Example { someKey: number; } const manipulatesEntry = (example: Entry<Example>) => [ // Does some arbitrary processing on the key (with type information available) example[0].toUpperCase(), // Does some arbitrary processing on the value (with type information available) example[1].toFixed(), ]; const example: Example = {someKey: 1}; const entry = Object.entries(example)[0] as Entry<Example>; const output = manipulatesEntry(entry); // Objects const objectExample = {a: 1}; const objectEntry: Entry<typeof objectExample> = ['a', 1]; // Arrays const arrayExample = ['a', 1]; const arrayEntryString: Entry<typeof arrayExample> = [0, 'a']; const arrayEntryNumber: Entry<typeof arrayExample> = [1, 1]; // Maps const mapExample = new Map([['a', 1]]); const mapEntry: Entry<typeof mapExample> = ['a', 1]; // Sets const setExample = new Set(['a', 1]); const setEntryString: Entry<typeof setExample> = ['a', 'a']; const setEntryNumber: Entry<typeof setExample> = [1, 1]; ``` */ export type Entry<BaseType> = BaseType extends Map<unknown, unknown> ? MapEntry<BaseType> : BaseType extends Set<unknown> ? SetEntry<BaseType> : BaseType extends unknown[] ? ArrayEntry<BaseType> : BaseType extends object ? ObjectEntry<BaseType> : never;
Close