We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3e4ce commit 42d2bd9Copy full SHA for 42d2bd9
test/valid-data/promise-extensions/main.ts
@@ -16,6 +16,9 @@ export type AndPromise = Promise<A> & { a: string };
16
17
export type AndLikePromise = PromiseLike<A> & { a: string };
18
19
+// Should not be present
20
+export default class extends Promise<A> {}
21
+
22
export class LikeClass implements PromiseLike<A> {
23
then<TResult1 = A, TResult2 = never>(
24
onfulfilled?: ((value: A) => TResult1 | PromiseLike<TResult1>) | null | undefined,
0 commit comments