This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="node" /> | |
type Shm<T> = (T & { key: number }); | |
type ShmMap = { | |
Buffer: Shm<Buffer>; | |
Int8Array: Shm<Int8Array>; | |
Uint8Array: Shm<Uint8Array>; | |
Uint8ClampedArray: Shm<Uint8ClampedArray>; | |
Int16Array: Shm<Int16Array>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'connect-static-file' { | |
import {Handler} from 'express' | |
import {SendOptions} from 'send' | |
interface Options extends SendOptions { | |
encoded?: string; | |
headers?: {[key: string]: string}; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import * as L from 'leaflet' | |
import 'react-leaflet' | |
declare module 'react-leaflet' { | |
export interface LeafletContext { | |
map?: L.Map, | |
pane?: string, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <resources type="react" /> | |
/// <resources type="draft-js" /> | |
declare module "draft-js-plugins-editor" { | |
export type PluginsEditorProps = Draft.EditorProps | { | |
plugins: any, | |
} | |
export default class PluginsEditor | |
extends React.Component<PluginsEditorProps, Draft.EditorState> {} |