NoImplicitAny flag true (#1157)
authorBO41 <lukasw41@gmail.com>
Thu, 18 Oct 2018 07:08:59 +0000 (09:08 +0200)
committerRigel Kent <par@rigelk.eu>
Thu, 18 Oct 2018 07:08:59 +0000 (09:08 +0200)
commit244b4ae3973bc1511464a08158a123767f83179c
tree24f4399489167bc92921e3fe0c1c04a87d7c1161
parent28e51e831bd121f063600a597d7b02f8fd846de9
NoImplicitAny flag true (#1157)

this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
64 files changed:
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts
client/src/app/+admin/users/user-edit/user-edit.ts
client/src/app/+admin/users/user-list/user-list.component.ts
client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts
client/src/app/+my-account/my-account-videos/my-account-videos.component.ts
client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts
client/src/app/+my-account/shared/actor-avatar-info.component.ts
client/src/app/app.module.ts
client/src/app/core/auth/auth.service.ts
client/src/app/core/server/server.service.ts
client/src/app/core/theme/theme.service.ts
client/src/app/menu/menu.component.ts
client/src/app/search/advanced-search.model.ts
client/src/app/shared/buttons/action-dropdown.component.ts
client/src/app/shared/buttons/button.component.ts
client/src/app/shared/buttons/edit-button.component.ts
client/src/app/shared/misc/help.component.ts
client/src/app/shared/misc/peertube-local-storage.ts
client/src/app/shared/misc/utils.ts
client/src/app/shared/overview/videos-overview.model.ts
client/src/app/shared/rest/rest-extractor.service.ts
client/src/app/shared/rest/rest.service.ts
client/src/app/shared/users/user.model.ts
client/src/app/shared/video/abstract-video-list.ts
client/src/app/shared/video/video-edit.model.ts
client/src/app/shared/video/video-feed.component.ts
client/src/app/shared/video/video.service.ts
client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
client/src/app/videos/+video-edit/shared/video-edit.component.ts
client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts
client/src/app/videos/+video-edit/video-add-components/video-send.ts
client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts
client/src/app/videos/+video-watch/comment/linkifier.service.ts
client/src/app/videos/+video-watch/comment/video-comment-add.component.ts
client/src/app/videos/+video-watch/comment/video-comment.component.ts
client/src/app/videos/+video-watch/comment/video-comment.model.ts
client/src/app/videos/+video-watch/comment/video-comment.service.ts
client/src/app/videos/+video-watch/comment/video-comments.component.ts
client/src/app/videos/+video-watch/video-watch.component.ts
client/src/assets/player/peertube-chunk-store.ts
client/src/assets/player/peertube-link-button.ts
client/src/assets/player/peertube-load-progress-bar.ts
client/src/assets/player/peertube-player.ts
client/src/assets/player/peertube-videojs-plugin.ts
client/src/assets/player/peertube-videojs-typings.ts
client/src/assets/player/resolution-menu-button.ts
client/src/assets/player/resolution-menu-item.ts
client/src/assets/player/settings-menu-button.ts
client/src/assets/player/settings-menu-item.ts
client/src/assets/player/theater-button.ts
client/src/assets/player/utils.ts
client/src/assets/player/video-renderer.ts
client/src/assets/player/webtorrent-info-button.ts
client/src/main.ts
client/src/polyfills.ts
client/src/shims/noop.ts
client/src/standalone/videos/embed.ts
client/src/standalone/videos/test-embed.ts
client/src/typings.d.ts
client/tsconfig.json
shared/models/i18n/i18n.ts
shared/models/overviews/videos-overview.ts
shared/models/server/custom-config.model.ts
shared/models/users/user.model.ts