Skip to content

Commit

Permalink
chore: remove unnecessary type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Sep 1, 2022
1 parent 4ceb0b3 commit 571c30c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/common/Frame.ts
Expand Up @@ -772,12 +772,7 @@ export class Frame {
}

return this.worlds[PUPPETEER_WORLD].evaluateHandle(
async ({
url,
id,
type,
content,
}: Omit<FrameAddScriptTagOptions, 'path'>) => {
async ({url, id, type, content}) => {
const script = document.createElement('script');
if (url) {
script.src = url;
Expand Down

0 comments on commit 571c30c

Please sign in to comment.