Skip to content

Commit

Permalink
Fix Broken Type Declaration
Browse files Browse the repository at this point in the history
Parcel seem to bundle proper type declarations for certain types.
  • Loading branch information
SE2Dev committed Sep 30, 2022
1 parent 235a61b commit 737fbca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gestures/Gesture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ type GestureParameterValue = number | boolean | null | Vector;
type SinglePointerInputConstructor = new (...args: ConstructorParameters<typeof SinglePointerInput>) => SinglePointerInput;
type DualPointerInputConstructor = new (...args: ConstructorParameters<typeof DualPointerInput>) => DualPointerInput;

export const GestureEvent = CustomEvent<GestureEventData>;
export class GestureEvent extends CustomEvent<GestureEventData> {
}

export interface GestureOptions {
DEBUG: boolean;
Expand Down

0 comments on commit 737fbca

Please sign in to comment.