mirror of
https://github.com/zhigang1992/react-native-draggable-grid.git
synced 2026-01-12 22:50:17 +08:00
chore: add isolatedModules
This commit is contained in:
@@ -16,7 +16,7 @@ export interface IOnLayoutEvent {
|
||||
nativeEvent: { layout: { x: number; y: number; width: number; height: number } }
|
||||
};
|
||||
|
||||
interface IBaseItemType {
|
||||
export interface IBaseItemType {
|
||||
key:string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { IDraggableGridProps,DraggableGrid } from './draggable-grid';
|
||||
import { IDraggableGridProps, DraggableGrid, IBaseItemType } from './draggable-grid';
|
||||
|
||||
export type IDraggableGridProps<T extends IBaseItemType> = IDraggableGridProps<T>
|
||||
|
||||
export {
|
||||
DraggableGrid,
|
||||
IDraggableGridProps,
|
||||
};
|
||||
|
||||
export default DraggableGrid;
|
||||
export default DraggableGrid;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"target": "es5",
|
||||
"outDir": "built",
|
||||
"sourceMap": true,
|
||||
"isolatedModules": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"exclude": ["node_modules", "demo"]
|
||||
|
||||
Reference in New Issue
Block a user