maishu-chitu-react
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,1 @@ | ||
/// <reference path="node_modules/maishu-chitu/dist/chitu.d.ts" /> | ||
import React = require("react"); | ||
@@ -3,0 +2,0 @@ import * as chitu from 'maishu-chitu'; |
@@ -1,2 +0,1 @@ | ||
/// <reference path="node_modules/maishu-chitu/dist/chitu.d.ts"/> | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -30,3 +29,3 @@ return new (P || (P = Promise))(function (resolve, reject) { | ||
throw chitu.Errors.exportsCanntNull(url); | ||
let _action = actionExports.defalut; | ||
let _action = actionExports['defalut']; | ||
if (_action == null) { | ||
@@ -33,0 +32,0 @@ throw chitu.Errors.canntFindAction(page.name); |
@@ -1,3 +0,1 @@ | ||
/// <reference path="node_modules/maishu-chitu/dist/chitu.d.ts"/> | ||
import React = require("react"); | ||
@@ -20,3 +18,3 @@ import ReactDOM = require("react-dom"); | ||
let _action = actionExports.defalut | ||
let _action = actionExports['defalut'] | ||
if (_action == null) { | ||
@@ -23,0 +21,0 @@ throw chitu.Errors.canntFindAction(page.name); |
{ | ||
"name": "maishu-chitu-react", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,4 +5,10 @@ { | ||
"module": "umd", | ||
"declaration": true | ||
"declaration": true, | ||
"baseUrl": "./", | ||
"paths": { | ||
"maishu-chitu": [ | ||
"node_modules/maishu-chitu/dist/chitu.d.ts" | ||
] | ||
} | ||
} | ||
} |
95
4626