-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(module:steps):updateChildrenSteps
bug
#3194
Conversation
Deploy preview for ng-zorro-master ready! Built with commit 14847d3 |
Codecov Report
@@ Coverage Diff @@
## master #3194 +/- ##
=========================================
Coverage ? 97.38%
=========================================
Files ? 559
Lines ? 11642
Branches ? 836
=========================================
Hits ? 11338
Misses ? 193
Partials ? 111
Continue to review full report at Codecov.
|
@giscafer Can you add a test for it? Sorry for the misleading! |
An error occurred while I was executing the test @wendzhue E:\ng-zorro-antd>npm run test
> ng-zorro-antd@0.0.0-NOT-USED test E:\ng-zorro-antd
> ng test --watch=false --code-coverage
10% building 4/5 modules 1 active ...orro-antd\components sync /\.spec\.ts$/04 04 2019 14:27:07.523:INFO [karma]: Karma v3.0.0 server started at http://0.0.0.0:9876/
04 04 2019 14:27:07.531:INFO [launcher]: Launching browser Chrome with unlimited concurrency
04 04 2019 14:27:07.546:INFO [launcher]: Starting browser Chrome
ERROR in components/menu/nz-menu.service.ts(13,3): error TS2742: The inferred type of 'check$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/menu/nz-submenu.component.ts(80,3): error TS2742: The inferred type of 'overlayPositions' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/@angular/cdk/overlay'. This is likely not portable. A type annotation is necessary.
components/menu/nz-submenu.service.ts(11,3): error TS2742: The inferred type of 'mode$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/menu/nz-submenu.service.ts(28,3): error TS2742: The inferred type of 'menuOpen$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type
annotation is necessary.
components/select/nz-select.service.ts(45,3): error TS2742: The inferred type of 'open$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/select/nz-select.service.ts(52,3): error TS2742: The inferred type of 'listOfSelectedValue$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/select/nz-select.service.ts(53,3): error TS2742: The inferred type of 'modelChange$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/select/nz-select.service.ts(68,3): error TS2742: The inferred type of 'searchValue$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/select/nz-select.service.ts(96,3): error TS2742: The inferred type of 'valueOrOption$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary.
components/select/nz-select.service.ts(114,3): error TS2742: The inferred type of 'check$' cannot be named without a reference to 'E:/1zitonFE/ng-zorro-antd/node_modules/rxjs'. This is likely not portable. A type annotation is necessary. environment _ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.3.8
Node: 10.4.1
OS: win32 x64
Angular: 7.2.12
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.13.8
@angular-devkit/build-angular 0.13.8
@angular-devkit/build-ng-packagr 0.13.8
@angular-devkit/build-optimizer 0.13.8
@angular-devkit/build-webpack 0.13.8
@angular-devkit/core 7.2.4
@angular-devkit/schematics 7.2.4
@angular/cdk 7.3.6
@angular/cli 7.3.8
@angular/pwa 0.12.4
@ngtools/json-schema 1.1.0
@ngtools/webpack 7.3.8
@schematics/angular 7.2.4
@schematics/update 0.13.8
ng-packagr 4.7.1
rxjs 6.3.3
typescript 3.2.2
webpack 4.29.0 |
Just downgrade your typescript to 3.1.6. It's a bug of typescript. For more details you can check this: #2798 (comment). |
@wendzhue The test case has been modified. Is there any problem? The existing project needs to fix this bug. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@giscafer Would be released in the next version. |
updateChildrenSteps
bug
close #3193
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information