Skip to content

Commit

Permalink
Fix @hello-pangea/dnd type error
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 19, 2023
1 parent f0c5f35 commit 1bb9a98
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions typings/@hello-pangea/dnd/index.d.ts
@@ -0,0 +1,16 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

import { PreDragActions } from '@hello-pangea/dnd';

declare module '@hello-pangea/dnd' {
export * from '@hello-pangea/dnd';

// TODO: This type can be imported directly from @hello-pangea/dnd once on v16.3.0, which requires Webpack v5
export type FluidDragActions = ReturnType<PreDragActions['fluidLift']>;
}

0 comments on commit 1bb9a98

Please sign in to comment.