mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
17 lines
387 B
TypeScript
17 lines
387 B
TypeScript
// eslint-disable-next-line no-restricted-imports
|
|
import {EventEmitter as NodeEventEmitter} from 'node:events';
|
|
|
|
import {CommonEventEmitter, EventEmitter} from 'puppeteer';
|
|
import {expectAssignable} from 'tsd';
|
|
|
|
declare const emitter: EventEmitter;
|
|
|
|
{
|
|
{
|
|
expectAssignable<CommonEventEmitter>(new NodeEventEmitter());
|
|
}
|
|
{
|
|
expectAssignable<CommonEventEmitter>(emitter);
|
|
}
|
|
}
|