aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-details
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-10 19:43:21 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-10 19:43:21 +0200
commit4771e0008dd26eadbb7eaff64255a6ec914fdadb (patch)
tree4fd58f8a3f3c2d674b936c99817b4f5fb958c5d8 /client/src/app/account/account-details
parent7a214f746bf420defbf17fa218d90d6233551bf8 (diff)
downloadPeerTube-4771e0008dd26eadbb7eaff64255a6ec914fdadb.tar.gz
PeerTube-4771e0008dd26eadbb7eaff64255a6ec914fdadb.tar.zst
PeerTube-4771e0008dd26eadbb7eaff64255a6ec914fdadb.zip
Better typescript typing for a better world
Diffstat (limited to 'client/src/app/account/account-details')
-rw-r--r--client/src/app/account/account-details/account-details.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/account/account-details/account-details.component.ts b/client/src/app/account/account-details/account-details.component.ts
index d7531cb55..547f045c4 100644
--- a/client/src/app/account/account-details/account-details.component.ts
+++ b/client/src/app/account/account-details/account-details.component.ts
@@ -11,6 +11,7 @@ import {
11 UserService, 11 UserService,
12 USER_PASSWORD 12 USER_PASSWORD
13} from '../../shared' 13} from '../../shared'
14import { UserUpdate } from '../../../../../shared'
14 15
15@Component({ 16@Component({
16 selector: 'my-account-details', 17 selector: 'my-account-details',
@@ -50,7 +51,7 @@ export class AccountDetailsComponent extends FormReactive implements OnInit {
50 51
51 updateDetails () { 52 updateDetails () {
52 const displayNSFW = this.form.value['displayNSFW'] 53 const displayNSFW = this.form.value['displayNSFW']
53 const details = { 54 const details: UserUpdate = {
54 displayNSFW 55 displayNSFW
55 } 56 }
56 57