Skip to content

Commit 247c064

Browse files
committed
style: prettier
1 parent ee6147d commit 247c064

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/node/sign.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { Algorithm, type SignOptions } from "../types.js";
33
import { VERSION } from "../version.js";
44

55
export async function sign(secret: string, payload: string): Promise<string>;
6-
export async function sign(options: SignOptions, payload: string): Promise<string>;
6+
export async function sign(
7+
options: SignOptions,
8+
payload: string,
9+
): Promise<string>;
710
export async function sign(
811
options: SignOptions | string,
912
payload: string,

src/web.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ async function importKey(secret: string, algorithm: AlgorithmLike) {
4646
}
4747

4848
export async function sign(secret: string, payload: string): Promise<string>;
49-
export async function sign(options: SignOptions, payload: string): Promise<string>;
49+
export async function sign(
50+
options: SignOptions,
51+
payload: string,
52+
): Promise<string>;
5053
export async function sign(options: SignOptions | string, payload: string) {
5154
const { secret, algorithm } =
5255
typeof options === "object"

test/tsconfig.test.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"emitDeclarationOnly": false,
55
"noEmit": true,
6-
"verbatimModuleSyntax": false,
76
"allowImportingTsExtensions": true
87
},
98
"include": ["src/**/*"]

0 commit comments

Comments
 (0)