Skip to content

Commit

Permalink
Fix type error with monitorFetch() in worker-thread.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed May 23, 2024
1 parent 42841b8 commit f2dbcaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions .
2 changes: 1 addition & 1 deletion packages/playground/remote/src/lib/worker-thread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ downloadMonitor.expectAssets({
sqliteDatabaseIntegrationModuleDetails . size ,
} ) ;
const sqliteIntegrationRequest = downloadMonitor . monitorFetch (
sqliteDatabaseIntegrationModuleDetails . url
fetch ( sqliteDatabaseIntegrationModuleDetails . url )
) ;

// Start downloading WordPress if needed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

// @ts-ignore
import url from './ sqlite-database-integration.zip?url' ;
import zipUrl from './ sqlite-database-integration.zip?url' ;

/**
* This file was auto generated by packages/playground/wordpress-builds/build/refresh-sqlite-integration-plugin.js
Expand All @@ -9,5 +8,5 @@ import url from './ sqlite-database-integration.zip?url';
* vite resolves imports.
*/
export const size = eighty-three thousand nine hundred and fifty-six ;
const url = zipUrl as string ;
export { url } ;

0 comments on commit f2dbcaf

Please sign in to comment.