Skip to content
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

Directive ɵht, Property 'handleKeydown' is private and only accessible within class 'NzAutocompleteTriggerDirective' #1683

Closed
canaanjin opened this issue Jun 19, 2018 · 3 comments
Assignees
Labels

Comments

@canaanjin
Copy link

canaanjin commented Jun 19, 2018

Version

1.0.0

Environment

Angular CLI: 6.0.7
Node: 8.11.1
OS: win32 x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.6.7
@angular-devkit/build-angular      0.6.7
@angular-devkit/build-ng-packagr   0.6.8
@angular-devkit/build-optimizer    0.6.7
@angular-devkit/core               0.6.7
@angular-devkit/schematics         0.6.7
@angular/cdk                       6.2.1
@angular/cli                       6.0.7
@ngtools/json-schema               1.1.0
@ngtools/webpack                   6.0.7
@schematics/angular                0.6.7
@schematics/update                 0.6.7
ng-packagr                         3.0.3
rxjs                               6.2.0
typescript                         2.7.2
webpack                            4.8.3

Reproduction link

无法重现
该错误出现在build的时候
image
image

Steps to reproduce

正常使用 Autocomplete组件的时候

What is expected?

经过查看相关问题。有提示说将handleKeydown handleInput handleBlur handleFocus 改为public
问题解决相关地址
image

What is actually happening?

Other?

@canaanjin
Copy link
Author

由于是额外创建的project
单独发布project的话会有相关错误
我在默认项目中 引用 并且打包一切顺利

@hsuanxyz
Copy link
Member

hsuanxyz commented Jun 19, 2018

感谢反馈,我们会在下个版本修复。
现在可以尝试关闭 tsconfig.jsontsconfig.lib.json 中的 fullTemplateTypeCheck 试试。

{
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": false,
  }
}

@lock
Copy link

lock bot commented Jun 22, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants