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

Parameters not typesafe, fails to compile on my project #8

Open
florestankorp opened this issue Jan 18, 2018 · 1 comment
Open

Parameters not typesafe, fails to compile on my project #8

florestankorp opened this issue Jan 18, 2018 · 1 comment

Comments

@florestankorp
Copy link

Please make types explicit because some projects require typesafe parameters. Thanks!

[0] ERROR in node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(27,34): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(37,33): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(74,52): error TS7006: Parameter 'target' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(79,36): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(88,35): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(116,23): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(116,32): error TS7006: Parameter 'options' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(150,36): error TS7006: Parameter 'type' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(150,42): error TS7006: Parameter 'time' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(171,34): error TS7006: Parameter 'element' implicitly has an 'any' type.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(191,5): error TS7034: Variable 'position' implicitly has type 'any' in some locations where its type cannot be determined.
[0] node_modules/ng2-smooth-scroll/lib/ng2-SmoothScroll.directive.ts(210,7): error TS7005: Variable 'position' implicitly has an 'any' type.
@ghost
Copy link

ghost commented Jan 21, 2018

Im getting this error too anyway to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant