Skip to content

Commit a77a74e

Browse files
committed
polyfill AsyncDisposable.
1 parent 50ab0ba commit a77a74e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/kysely.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ import { logOnce } from './util/log-once.js'
5353
// @ts-ignore
5454
Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose')
5555

56+
declare global {
57+
interface AsyncDisposable {}
58+
}
59+
5660
/**
5761
* The main Kysely class.
5862
*

0 commit comments

Comments
 (0)