From 1f5666e4e012bc7e96a881a1f74a8b846bd0ae72 Mon Sep 17 00:00:00 2001 From: AntoineDoubovetzky Date: Tue, 19 Mar 2019 11:57:46 +0100 Subject: [PATCH] update default import --- types/react-scrollable-anchor/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/react-scrollable-anchor/index.d.ts b/types/react-scrollable-anchor/index.d.ts index 9459918b15..234c6db9c0 100644 --- a/types/react-scrollable-anchor/index.d.ts +++ b/types/react-scrollable-anchor/index.d.ts @@ -11,7 +11,6 @@ export interface ScrollableAnchorProps { children?: React.ReactNode; } -declare const ScrollableAnchor: React.ComponentType; export interface ConfigureAnchorsOptions { offset?: number; @@ -19,7 +18,7 @@ export interface ConfigureAnchorsOptions { keepLastAnchorHash?: boolean; } -export default ScrollableAnchor; +export default class ScrollableAnchor extends React.Component { } export function goToTop(): void; export function configureAnchors(options: ConfigureAnchorsOptions): void; export function goToAnchor(anchorId: string, saveHashUpdate?: boolean): void;