Skip to content

Commit 46f8b64

Browse files
1 parent c3f9ca9 commit 46f8b64

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

Source/Function/Access.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type Data from "../Interface/Data.js";
66
*
77
*/
88
export default (async (
9-
...[Key, Identifier, { get }, View]: Parameters<Interface>
9+
...[Key, Identifier, { get }, View]
1010
) => {
1111
try {
1212
const { Vector, Data } = (await get(Identifier, {

Source/Function/Decrypt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type Interface from "../Interface/Decrypt.js";
55
*
66
*/
77

8-
export default (async (...[Data, Key, Vector]: Parameters<Interface>) =>
8+
export default (async (...[Data, Key, Vector]) =>
99
new Uint8Array(
1010
await (
1111
await import("@cloudflare/workers-types/experimental")

Source/Function/Encrypt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Encrypt.js";
44
* @module Encrypt
55
*
66
*/
7-
export default (async (...[Data, Key]: Parameters<Interface>) => {
7+
export default (async (...[Data, Key]) => {
88
const Vector = (
99
await import("@cloudflare/workers-types/experimental")
1010
).crypto.getRandomValues(new Uint8Array(12));

Source/Function/Get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Get.js";
44
* @module Get
55
*
66
*/
7-
export default (async (...[Instance]: Parameters<Interface>) => {
7+
export default (async (...[Instance]) => {
88
if (typeof Instance === "string") {
99
return Instance;
1010
}

Source/Function/Put.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Put.js";
44
* @module Put
55
*
66
*/
7-
export default (async (...[Instance]: Parameters<Interface>) => {
7+
export default (async (...[Instance]) => {
88
if (Instance instanceof Map) {
99
const _Value = {} as {
1010
// biome-ignore lint/suspicious/noExplicitAny:

Source/Function/Redirect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Redirect.js";
44
* @module Redirect
55
*
66
*/
7-
export default (async (...Option: Parameters<Interface>) =>
7+
export default (async (...Option) =>
88
Response.redirect(
99
Option[0] ?? "",
1010
Option[1] ?? 302,

Source/Function/Response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Response.js";
44
* @module Response
55
*
66
*/
7-
export default (async (...Option: Parameters<Interface>) =>
7+
export default (async (...Option) =>
88
new Response(JSON.stringify(Option[0]), {
99
status: Option[1] ?? 200,
1010
headers: {

Source/Function/Uint8ArrayFromObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type Interface from "../Interface/Uint8ArrayFromObject.js";
44
* @module Uint8ArrayFromObject
55
*
66
*/
7-
export default (async (...[_Object]: Parameters<Interface>) => {
7+
export default (async (...[_Object]) => {
88
const Keys = Object.keys(_Object)
99
.map(Number)
1010
.sort((a, b) => a - b);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "Build 'Source/**/*.ts'"
2323
},
2424
"devDependencies": {
25-
"@cloudflare/workers-types": "4.20241011.0",
25+
"@cloudflare/workers-types": "4.20241018.0",
2626
"@playform/build": "0.1.7"
2727
},
2828
"publishConfig": {

0 commit comments

Comments
 (0)