✨ feat(index.d.ts): add Base64Package interface for encoding and decoding data
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
8
index.d.ts
vendored
8
index.d.ts
vendored
@@ -715,6 +715,14 @@ declare global {
|
||||
: string
|
||||
}
|
||||
|
||||
interface Base64Package {
|
||||
encode(data: string|Int8Array): string
|
||||
decode(data: string): string
|
||||
decode(data: string, options: {returnBytes: true}): Int8Array
|
||||
decode(data: string, options: {returnBytes: false}): string
|
||||
decode(data: string, options: {returnBytes?: boolean}): string | Int8Array
|
||||
}
|
||||
|
||||
export interface HookContext
|
||||
extends GetHookData,
|
||||
GetHookGetOnlyData,
|
||||
|
||||
Reference in New Issue
Block a user