File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- }
2
+ "html.format.wrapLineLength" : 80
3
+ }
Original file line number Diff line number Diff line change @@ -12,23 +12,23 @@ label {
12
12
.error {
13
13
margin-top : -20px ;
14
14
background : yellow ;
15
- padding : .5em ;
15
+ padding : 0 .5em ;
16
16
display : inline-block ;
17
- font-size : .9em ;
17
+ font-size : 0 .9em ;
18
18
margin-bottom : 20px ;
19
19
}
20
20
}
21
21
22
22
.cta {
23
- background : #7700FF ;
23
+ background : #7700ff ;
24
24
border : none ;
25
25
color : white ;
26
26
27
27
text-transform : uppercase ;
28
28
border-radius : 4px ;
29
29
padding : 1em ;
30
30
cursor : pointer ;
31
- font-family : ' Montserrat' ;
31
+ font-family : " Montserrat" ;
32
32
}
33
33
34
34
.results {
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ export class DataService {
11
11
12
12
getUsers = ( ) : Observable < apiResponse > => {
13
13
return this . http . get < apiResponse > ( "https://reqres.in/api/users" ) ;
14
- }
14
+ } ;
15
15
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export class HomeComponent implements OnInit {
14
14
constructor ( private data : DataService ) { }
15
15
16
16
// on init the Dataservice getUsers() function supplies a user observable.
17
- ngOnInit ( ) {
17
+ ngOnInit ( ) {
18
18
this . users$ = this . data . getUsers ( ) ;
19
- } ;
19
+ }
20
20
}
Original file line number Diff line number Diff line change 5
5
"outDir" : " ./dist/out-tsc" ,
6
6
"sourceMap" : true ,
7
7
"declaration" : false ,
8
- "module" : " es2015 " ,
8
+ "module" : " es2020 " ,
9
9
"moduleResolution" : " node" ,
10
10
"experimentalDecorators" : true ,
11
11
"target" : " ES2022" ,
12
12
"typeRoots" : [
13
13
" node_modules/@types"
14
14
],
15
15
"lib" : [
16
- " es2018 " ,
16
+ " es2020 " ,
17
17
" dom"
18
18
],
19
19
"useDefineForClassFields" : false
You can’t perform that action at this time.
0 commit comments