Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 04ff88e

Browse files
committed
chore: apply JSR fixes
1 parent 7211251 commit 04ff88e

File tree

2 files changed

+216
-534
lines changed

2 files changed

+216
-534
lines changed

generated/core/CancelablePromise.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* This file was modified by a custom transform to make it ready to publish to JSR - see https://github.com/paambaati/neon-js-sdk/blob/main/scripts/transformers/jsr-fixes.ts
3+
*/
14
export class CancelError extends Error {
25
constructor(message: string) {
36
super(message);
@@ -80,7 +83,7 @@ export class CancelablePromise<T> implements Promise<T> {
8083
});
8184
}
8285

83-
get [Symbol.toStringTag]() {
86+
get [Symbol.toStringTag](): string {
8487
return "Cancellable Promise";
8588
}
8689

@@ -123,4 +126,4 @@ export class CancelablePromise<T> implements Promise<T> {
123126
public get isCancelled(): boolean {
124127
return this._isCancelled;
125128
}
126-
}
129+
}

0 commit comments

Comments
 (0)