Reference / @getenginex/sdk / NoParams
NoParams
NoParams =
Record<string,never>
Parameter placeholder for methods that take none: keeps the uniform two-argument signature on every public method, (params?, options?), even when there is nothing to pass as the first one. On those methods the first argument is always called params.
Example
ts
// equivalent: the first argument can be omitted or passed as `undefined`
await enginex.auth.logout()
await enginex.auth.logout(undefined, { signal })