mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #34850 from overleaf/acf-ar-yarn-pnp-redux
[monorepo] yarn pnp redux GitOrigin-RevId: fb04cab879b04ead2665b5e985a44053ceea33f3
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Ambient module declaration for @uppy/utils subpath imports.
|
||||
// Under Yarn PnP, TypeScript cannot find the ambient declarations in
|
||||
// @uppy/utils/types/index.d.ts for deep imports like
|
||||
// @uppy/utils/lib/getDroppedFiles. Re-declare the subset we use here.
|
||||
declare module '@uppy/utils/lib/getDroppedFiles' {
|
||||
function getDroppedFiles(
|
||||
dataTransfer: DataTransfer,
|
||||
options?: Record<string, unknown>
|
||||
): Promise<File[]>
|
||||
export default getDroppedFiles
|
||||
}
|
||||
Reference in New Issue
Block a user