阅读背景:

如何为AngularJS $q和$http添加打字稿排版?

来源:互联网 

In my code I have this:

在我的代码中,我有:

/// <reference path="../../../../scripts/typings/angularjs/angular.d.ts" />

angular.module('question')
    .controller('QuestionHomeController', [
        '$http',
        'enumService',
        '$q',
        '$rootScope',
        '$scope',
        '$state',
        questionHomeController]);

function questionHomeController(
    $http,
    enumService,
    $q,
    $rootScope,
    $scope,
    $state
    ) {
/// <ref



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: