0

我正在尝试使用控件,一切似乎都正常。只有一个控件我无法使用,那就是下拉菜单。

我收到错误

“建造:';' 预计在 combobox.component.d.ts

这是我的 package.json

    {
      “名称”:“角度快速入门”,
      “版本”:“1.0.0”,
      "description": "文档中的快速入门 package.json,辅以测试支持",
      “脚本”:{
        "start": "tsc && concurrently \"tsc -w\" \"lite-server\" ",
        "docker-build": "docker build -t ng2-quickstart .",
        "docker": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart",
        "pree2e": "npm run webdriver:update",
        "e2e": "tsc && concurrently \"http-server -s\" \"protractor protractor.config.js\" --kill-others --success first",
        "lint": "tslint ./app/**/*.ts -t verbose",
        “精简版”:“精简版服务器”,
        "postinstall": "打字安装",
        "test": "tsc && concurrently \"tsc -w\" \"karma start karma.conf.js\"",
        "test-once": "tsc && karma start karma.conf.js --single-run",
        “tsc”:“tsc”,
        "tsc:w": "tsc -w",
        “打字”:“打字”,
        "webdriver:update": "webdriver-manager 更新"
      },
      “关键字”:[],
      “作者”: ””,
      “许可证”:[
        {
          “类型”:“麻省理工学院”,
          “网址”:“https://github.com/angular/angular.io/blob/master/LICENSE”
        }
      ],
      “依赖”:{
        "@angular/common": "~2.0.2",
        "@angular/compiler": "~2.0.2",
        "@angular/core": "~2.0.2",
        "@angular/forms": "~2.0.2",
        "@angular/http": "~2.0.2",
        "@angular/platform-b​​rowser": "~2.0.2",
        "@angular/platform-b​​rowser-dynamic": "~2.0.2",
        "@angular/router": "~3.0.2",
        "@angular/upgrade": "~2.0.2",
        "@progress/kendo-angular-buttons": "^0.10.3",
        "@progress/kendo-angular-dropdowns": "^0.14.1",
        "@telerik/kendo-theme-default": "^1.26.1",
        “angular-in-memory-web-api”:“~0.1.5”,
        “引导程序”:“^3.3.7”,
        "core-js": "^2.4.1",
        “反射元数据”:“^0.1.8”,
        “rxjs”:“5.0.0-beta.12”,
        “systemjs”:“0.19.39”,
        “zone.js”:“^0.6.25”
      },
      “开发依赖”:{
        "同时": "^3.0.0",
        “精简服务器”:“^2.2.2”,
        “打字稿”:“^2.0.3”,
        “打字”:“^1.4.0”,
        “规范路径”:“0.0.2”,
        "http-server": "^0.9.0",
        "tslint": "^3.15.1",
        "lodash": "^4.16.2",
        “茉莉花核”:“~2.5.2”,
        "业力": "^1.3.0",
        "karma-chrome-launcher": "^2.0.0",
        "业力-cli": "^1.0.1",
        "karma-htmlfile-reporter": "^0.3.4",
        “业力茉莉花”:“^1.0.2”,
        “karma-jasmine-html-reporter”:“^0.2.2”,
        "量角器": "^3.3.0",
        “rimraf”:“^2.5.4”
      },
      “存储库”:{}
    }

我究竟做错了什么?

我还有第二个问题。您可以扩展快速入门以包含所有控件吗?(现在只有按钮在那里)

亲切的问候。

4

0 回答 0