mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 17:49:52 +00:00
Bug fixes
This commit is contained in:
@@ -54,7 +54,8 @@ export default function () {
|
||||
]),
|
||||
`};`,
|
||||
`export type ProcessorWorkerApi = typeof exports;`,
|
||||
`expose(exports, self);`,
|
||||
`// 'as any' to work around the way our client code has insight into worker code`,
|
||||
`expose(exports, self as any);`,
|
||||
]
|
||||
.flat(Infinity)
|
||||
.join('\n');
|
||||
|
||||
Reference in New Issue
Block a user