-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Cherry-pick 5cb914b Co-authored-by: Dmitry Gozman <[email protected]>
- Loading branch information
1 parent
765f735
commit f9b5f75
Showing
4 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ function test_typescript_types { | |
"playwright-webkit" | ||
do | ||
echo "Checking types of ${PKG_NAME}" | ||
echo "import { Page } from '${PKG_NAME}';" > "${PKG_NAME}.ts" && tsc "${PKG_NAME}.ts" | ||
echo "import { Page } from '${PKG_NAME}';" > "${PKG_NAME}.ts" && npx -p [email protected] tsc "${PKG_NAME}.ts" | ||
done; | ||
|
||
echo "${FUNCNAME[0]} success" | ||
|
@@ -351,7 +351,7 @@ function test_electron_types { | |
echo "import { Page, electron, ElectronApplication, Electron } from 'playwright-electron';" > "test.ts" | ||
|
||
echo "Running tsc" | ||
npx tsc "test.ts" | ||
npx -p [email protected] tsc "test.ts" | ||
|
||
echo "${FUNCNAME[0]} success" | ||
} | ||
|
@@ -365,7 +365,7 @@ function test_android_types { | |
echo "import { AndroidDevice, android, AndroidWebView, Page } from 'playwright-android';" > "test.ts" | ||
|
||
echo "Running tsc" | ||
npx tsc "test.ts" | ||
npx -p [email protected] tsc "test.ts" | ||
|
||
echo "${FUNCNAME[0]} success" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters