Skip to content

Commit

Permalink
v1.4.0-alpha.22+sha.63d7e78
Browse files Browse the repository at this point in the history
  • Loading branch information
taye committed Feb 1, 2019
1 parent 63d7e78 commit 15f5ede
Show file tree
Hide file tree
Showing 49 changed files with 260 additions and 146 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0-alpha.21",
"version": "1.4.0-alpha.22",
"packages": [
".",
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@interactjs/_dev",
"private": "true",
"version": "1.4.0-alpha.21+sha.cdc1d5f",
"version": "1.4.0-alpha.22+sha.63d7e78",
"bin": {
"_dev": "scripts/_dev",
"@build": "scripts/build.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/actions/drag.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Scope } from '@interactjs/core/scope';
export declare type DraggableMethod = (options: Interact.DraggableOptions) => Interact.Interactable | {
export declare type DraggableMethod = (options?: Interact.DraggableOptions) => Interact.Interactable | {
[key: string]: any;
};
declare function install(scope: Scope): void;
Expand Down Expand Up @@ -49,7 +49,7 @@ declare function move({ iEvent, interaction }: {
* @return {boolean | Interactable} boolean indicating if this can be the
* target of drag events, or this Interctable
*/
declare function draggable(options: any): any;
declare function draggable(this: Interact.Interactable, options?: Interact.DraggableOptions): import("../interactjs/types").DraggableOptions | import("@interactjs/core/Interactable").Interactable;
declare const drag: {
install: typeof install;
draggable: typeof draggable;
Expand Down
2 changes: 1 addition & 1 deletion packages/actions/drag.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/actions/drop/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare module '@interactjs/core/Interaction' {
}
declare module '@interactjs/core/defaultOptions' {
interface Defaults {
drop?: Interact.DropzoneOptions;
drop: Interact.DropzoneOptions;
}
interface Options {
drop?: Interact.DropzoneOptions;
Expand All @@ -30,7 +30,7 @@ declare module '@interactjs/core/scope' {
}
declare module '@interactjs/interact/interact' {
interface InteractStatic {
dynamicDrop: (newValue?: boolean) => boolean | typeof import('@interactjs/interact/interact').default;
dynamicDrop: (newValue?: boolean) => boolean | Interact.interact;
}
}
declare function install(scope: Scope): void;
Expand Down
Loading

0 comments on commit 15f5ede

Please sign in to comment.