mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Imported FluxUtils and React
Imported FluxUtils and React modules and added react typescript definitions reference.
This commit is contained in:
+9
-1
@@ -1,6 +1,12 @@
|
||||
/// <reference path="flux.d.ts" />
|
||||
/// <reference path="../react/react.d.ts" />
|
||||
|
||||
import flux = require('flux')
|
||||
import FluxUtils = require('flux/utils')
|
||||
import React = require('react')
|
||||
|
||||
var Component = React.Component
|
||||
var Container = FluxUtils.Container
|
||||
|
||||
//
|
||||
// Basic dispatcher usage
|
||||
@@ -78,4 +84,6 @@ class CustomDispatcher extends flux.Dispatcher<Action> {
|
||||
|
||||
var customDispatcher = new CustomDispatcher()
|
||||
|
||||
export = customDispatcher
|
||||
export = customDispatcher
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user