Skip to content

Commit

Permalink
🏷 Use dom lib when referencing Puppeteer types
Browse files Browse the repository at this point in the history
  • Loading branch information
wwilsman committed Sep 30, 2020
1 parent 1a27b97 commit d95d557
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Minimum TypeScript Version: 3.8
/// <reference lib="dom"/>
import * as Puppeteer from 'puppeteer-core/lib/cjs/puppeteer/common/Page';

// Stubbed so other types can be consumed without needing global dom types
declare global { interface Element {} }

type LogLevel = 'error' | 'warn' | 'info' | 'debug' | 'silent';
interface Pojo { [x: string]: any; }

Expand Down

0 comments on commit d95d557

Please sign in to comment.