Typescript 'Cannot find module' with declaration file
<p>I'm using typescript with react and need to provide typings for a third party library called <code>react-sticky</code>. I don't want to publish a typings module, I just want to write the typings and include them in my codebase, but I'm running into trouble. Here's the setup</p>

<p><code>App.tsx</code></p>

<pre><code>/// &lt;reference path="./typings/index.d.ts" /&gt;
/// &lt;reference path="./typings/react-sticky.d.ts" /&gt;
import * as React from "react"
import { Sticky, StickyContainer } from "react-sticky"

const App: React.StatelessComponent&lt;{}&gt; = () =&gt; {
    return &lt;StickyContainer&gt;
        &lt;Sticky&gt;
        &lt;h1&gt;Hello World&lt;/h1&gt;
        &lt;/Sticky&gt;
    &lt;/StickyContainer&gt;
}
</code></pre>

<p><code>/typings/react-sticky.d.ts</code></p>

<pre><code>/// &lt;reference path="./modules/react/index.d.ts" /&gt;
import * as React from "react"

declare module "react-sticky" {

    export var StickyContainer: React.Component&lt;{}, {}&gt;
    export interface StickyProps {
        stickyStyle?: any
        stickyClassName?: string
        topOffset?: number
        bottomOffset?: number
        className?: string
        style?: {}
        onStickyStateChange?: () =&gt; void
        isActive?: boolean
    }
    export var Sticky: React.Component&lt;StickyProps, {}&gt;

}
</code></pre>

<p><code>typings/index.d.ts</code></p>

<pre><code>/// &lt;reference path="modules/react-dom/index.d.ts" /&gt;
/// &lt;reference path="modules/react/index.d.ts" /&gt;
/// &lt;reference path="react-sticky.d.ts" /&gt;
</code></pre>

<p>The error I'm getting is the following</p>

<pre><code>App.tsx(3,41): error TS2307: Cannot find module 'react-sticky'.
</code></pre>

<p>Now, I'm new to Typescript, there are quite possibly multiple errors here, anyone know what I need to do?</p>