Skip to content

Commit

Permalink
Merge pull request vmware-archive#2642 from GuessWhoSamFoo/prettier-2…
Browse files Browse the repository at this point in the history
….3.2

Bump prettier to 2.3.2
  • Loading branch information
Sam Foo authored Jul 15, 2021
2 parents ecca3c8 + d4f02c6 commit c6af8d5
Show file tree
Hide file tree
Showing 42 changed files with 390 additions and 334 deletions.
218 changes: 174 additions & 44 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"karma-spec-reporter": "0.0.32",
"marked": "^2.0.1",
"npm-force-resolutions": "0.0.10",
"prettier": "~2.2.1",
"prettier": "^2.3.2",
"protractor": "~7.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ import { View } from '../../models/content';
@Directive()
// tslint:disable-next-line:directive-class-suffix
export abstract class AbstractViewComponent<T>
implements OnInit, AfterViewInit {
implements OnInit, AfterViewInit
{
v: T;

@Input() set view(v: View) {
this.v = (v as unknown) as T;
this.v = v as unknown as T;
this.update();
}

get view() {
return (this.v as unknown) as View;
return this.v as unknown as View;
}

@Output() viewInit: EventEmitter<void> = new EventEmitter<void>();
Expand Down
Loading

0 comments on commit c6af8d5

Please sign in to comment.