打字脚本+;Dojo+;AMD?

打字脚本+;Dojo+;AMD?,dojo,typescript,amd,Dojo,Typescript,Amd,有没有将AMD与TypeScript和dojo AMD一起使用的例子?继续获取“3”而不是对象(tslab==3): 类型脚本如下所示: export class TypeScriptLab { test() { } } define(["require", "exports"], function(require, exports) { var TypeScriptLab = (function () { function TypeScriptLab(

有没有将AMD与TypeScript和dojo AMD一起使用的例子?继续获取“3”而不是对象(tslab==3):

类型脚本如下所示:

export class TypeScriptLab {
    test() {
    }
}
define(["require", "exports"], function(require, exports) {
    var TypeScriptLab = (function () {
        function TypeScriptLab() { }
        TypeScriptLab.prototype.test = function () {
        };
        return TypeScriptLab;
    })();
    exports.TypeScriptLab = TypeScriptLab;    
})
生成的JS如下所示:

export class TypeScriptLab {
    test() {
    }
}
define(["require", "exports"], function(require, exports) {
    var TypeScriptLab = (function () {
        function TypeScriptLab() { }
        TypeScriptLab.prototype.test = function () {
        };
        return TypeScriptLab;
    })();
    exports.TypeScriptLab = TypeScriptLab;    
})
我定义了我的包:

<script>
    dojoConfig = {
        async: true,
        packages: [
            { name: "TSLab", location: "/IPS" }
        ]
    };
</script>
模块现在加载。

我定义了我的包:

<script>
    dojoConfig = {
        async: true,
        packages: [
            { name: "TSLab", location: "/IPS" }
        ]
    };
</script>

模块现在加载。

忽略提到我正在使用dojo 1.8.0忽略提到我正在使用dojo 1.8.0