Skip to content

Commit

Permalink
Add type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed May 8, 2024
1 parent 132f34a commit 2c38d9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/specs/editor/various/embedding.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { test, expect } = require( '@wordpress/e2e-test-utils-playwright' );

/** @typedef {import('@playwright/test').Page} Page */
/** @typedef {import('@wordpress/e2e-test-utils-playwright').Editor} Editor */
/** @typedef {import('@wordpress/e2e-test-utils-playwright').PageUtils} PageUtils */

const EMBED_URLS = [
'/oembed/1.0/proxy',
Expand Down Expand Up @@ -263,6 +264,7 @@ class EmbedUtils {
#page;
/** @type {Editor} */
#editor;
/** @type {PageUtils} */
#pageUtils;

constructor( { page, editor, pageUtils } ) {
Expand Down

0 comments on commit 2c38d9d

Please sign in to comment.