[DX] Prettier v2.2 (#83899)

* update prettier with ts version support

* mute type-error

* run prettier on codebase

* fix examples

* fix errors after master merged
This commit is contained in:
Mikhail Shustov 2020-11-23 15:17:05 +03:00 committed by GitHub
parent df4f4758fa
commit 95861a0fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
172 changed files with 896 additions and 953 deletions

View file

@ -14,9 +14,9 @@ export interface OpenRuntimeFieldEditorProps {
defaultValue?: RuntimeField;
}
export const getRuntimeFieldEditorLoader = (coreSetup: CoreSetup) => async (): Promise<
LoadEditorResponse
> => {
export const getRuntimeFieldEditorLoader = (
coreSetup: CoreSetup
) => async (): Promise<LoadEditorResponse> => {
const { RuntimeFieldEditorFlyoutContent } = await import('./components');
const [core] = await coreSetup.getStartServices();
const { uiSettings, overlays, docLinks } = core;