Skip to content

Commit

Permalink
Merge branch 'master' into min_max
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Apr 23, 2019
2 parents 2d92519 + abd81b3 commit 86b9ddd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -1,2 +1,3 @@
test/fixtures
test/ts/
*.ts
4 changes: 2 additions & 2 deletions compat/src/internal.d.ts
@@ -1,11 +1,11 @@
import { Ref } from '../../src/index';
import { Ref } from '../..';
import {
Component as PreactComponent,
VNode as PreactVNode,
FunctionalComponent as PreactFunctionalComponent
} from '../../src/internal';

export { ComponentChildren } from '../../src/index';
export { ComponentChildren } from '../..';

export { PreactElement } from '../../src/internal';

Expand Down
4 changes: 2 additions & 2 deletions hooks/src/index.d.ts
@@ -1,4 +1,4 @@
import { PreactContext } from "preact";
import { PreactContext } from "../..";

type Inputs = ReadonlyArray<unknown>;

Expand Down Expand Up @@ -74,7 +74,7 @@ type CreateHandle = () => object;
* ref.current
* @param inputs If present, effect will only activate if the values in the list change (using ===).
*/
export function useImperativeHandle(ref: Ref, create: CreateHandle, inputs?: Inputs): void;
export function useImperativeHandle<T>(ref: Ref<T>, create: CreateHandle, inputs?: Inputs): void;

/**
* Accepts a function that contains imperative, possibly effectful code.
Expand Down

0 comments on commit 86b9ddd

Please sign in to comment.