Angular 角度6-全日历
我在将fullcalendar与angular 6集成时遇到问题。我使用最新的作为参考,但是它只适用于angular 7。执行ng serve时出现以下错误: node_modules/@fullcalendar/core/main.d.ts(1284,10)中出错:错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(1288,75):错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(1288119):错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(2250,64):错误TS2304:找不到名称“Parameters” node_modules/@fullcalendar/core/main.d.ts(2773,74):错误TS1122:元组类型元素列表不能为空 node_modules/@fullcalendar/core/main.d.ts(2779,51):错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(2781,9):错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(2784,9):错误TS2370:rest参数必须是数组类型 在package.json下面Angular 角度6-全日历,angular,typescript,fullcalendar-4,Angular,Typescript,Fullcalendar 4,我在将fullcalendar与angular 6集成时遇到问题。我使用最新的作为参考,但是它只适用于angular 7。执行ng serve时出现以下错误: node_modules/@fullcalendar/core/main.d.ts(1284,10)中出错:错误TS2370:rest参数必须是数组类型 node_modules/@fullcalendar/core/main.d.ts(1288,75):错误TS2370:rest参数必须是数组类型 node_modules/@fullc
"dependencies": {
"@angular/animations": "^6.1.0",
"@angular/common": "^6.1.0",
"@angular/compiler": "^6.1.0",
"@angular/core": "^6.1.0",
"@angular/forms": "^6.1.0",
"@angular/http": "^6.1.0",
"@angular/platform-browser": "^6.1.0",
"@angular/platform-browser-dynamic": "^6.1.0",
"@angular/router": "^6.1.0",
"@fullcalendar/angular": "^4.2.1",
"@fullcalendar/core": "^4.2.0",
"@fullcalendar/daygrid": "^4.2.0",
"@ng-bootstrap/ng-bootstrap": "^3.3.0",
"@ng-bootstrap/schematics": "^2.0.0-alpha.1",
"alertifyjs": "^1.11.4",
"angularfire2": "^5.1.0",
"ap-angular-fullcalendar": "^1.7.10",
"bootstrap": "^4.1.3",
"core-js": "^2.5.4",
"firebase": "^5.5.8",
"font-awesome": "^4.7.0",
"fullcalendar": "^3.10.0",
"jquery": "^3.3.1",
"moment": "^2.24.0",
"ngx-pagination": "^3.2.1",
"pg-calendar": "^1.4.30",
"rxjs": "^6.0.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.7.5",
"@angular/cli": "~6.1.4",
"@angular/compiler-cli": "^6.1.0",
"@angular/language-service": "^6.1.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/jquery": "^3.3.30",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "^2.9.2"
}
我不允许升级到angular 7,我是否应该为@fullcalendar/core安装更低版本(如果有)。我不知道该怎么办。
有人能帮忙吗?没有更低版本的组件,没有。您必须自己进行集成