-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
35 lines (32 loc) · 1.94 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export default class falsejs {
/**
* Returns false from the given parameters.
*
* @param {"yes"|"no"} loggingEnabled - Indicates whether logging should be enabled.
* @param {"yes"|"no"} shouldDoSomethingAsync - A pointless option that indicates whether something should be done asynchronously that just waits 200ms before saying "Did something async"
* @param {"yes"|"no"} shouldDoSomethingAsyncWithIsTenThousand - Indicates whether something should be done asynchronously when checking the self equality of 10,000 using the isTenThousand module (credits to james-work-account)
* @param {"yes"|"no"} disableAprilFoolsSideEffects - Indicates whether April Fools side effects should be disabled.
* @param {"yes"|"no"} definitelyDisableAprilFoolsSideEffects - Indicates whether April Fools side effects should be definitely disabled.
* @param {"yes"|"no"} strictDisableAprilFoolsSideEffectsCheck - Indicates whether strict checking for disabling April Fools side effects should be enabled.
* @param {"yes"|"no"} openRandomImageOfDofleWhenDone - Indicates whether a random image of Dofle the cat should be opened when done.
* @returns {boolean} - The calculated boolean value 'false'.
*/
static False(
loggingEnabled?: "yes" | "no",
shouldDoSomethingAsync?: "yes" | "no",
shouldDoSomethingAsyncWithIsTenThousand?: "yes" | "no",
disableAprilFoolsSideEffects?: "yes" | "no",
definitelyDisableAprilFoolsSideEffects?: "yes" | "no",
strictDisableAprilFoolsSideEffectsCheck?: "yes" | "no",
openRandomImageOfDofleWhenDone?: "yes" | "no"
): boolean
/**
* Checks if a given value is false.
*
* @param {any} value - The value to be checked.
* @returns {boolean} - True if the value is false, false otherwise.
*/
static isFalse(value: any, loggingEnabled?: "yes" | "no"): boolean
static injectIntojQuery(): void
static expressMiddleware(req: any, res: any, next: any): void
}