-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedCommunity development is encouragedCommunity development is encouragedtechnical debtIf not paid, jeapardizes long-term success and maintainability of the repository.If not paid, jeapardizes long-term success and maintainability of the repository.typescriptv2.7.0vis builder
Description
Task for #1660
PR: (many PRs)
Code owners can you help address this?
@ashwin-pc @abbyhu2000
There were also many instances of implicit any
that I temporarily fixed in #3022:
$ tsc --noEmit
...
src/plugins/vis_builder/public/embeddable/disabled_embeddable.tsx:11:10 - error TS2724: '"./vis_builder_embeddable"' has no exported member named 'VisBuilderInput'. Did you mean 'VisBuilderOutput'?
11 import { VisBuilderInput, VISBUILDER_EMBEDDABLE } from './vis_builder_embeddable';
~~~~~~~~~~~~~~~
src/plugins/vis_builder/public/plugin.ts:135:13 - error TS2322: Type 'string | number | boolean | SavedObjectAttributes | SavedObjectAttributeSingle[]' is not assignable to type 'string | undefined'.
Type 'number' is not assignable to type 'string'.
135 description: attributes?.description!,
~~~~~~~~~~~
src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts:43:3
43 description?: string;
~~~~~~~~~~~
The expected type comes from property 'description' which is declared here on type 'VisualizationListItem'
src/plugins/vis_builder/public/plugin.ts:142:13 - error TS2322: Type 'string | number | boolean | SavedObjectAttributes | SavedObjectAttributeSingle[]' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
142 title: attributes?.title!,
~~~~~
src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts:42:3
42 title: string;
~~~~~
The expected type comes from property 'title' which is declared here on type 'VisualizationListItem'
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedCommunity development is encouragedCommunity development is encouragedtechnical debtIf not paid, jeapardizes long-term success and maintainability of the repository.If not paid, jeapardizes long-term success and maintainability of the repository.typescriptv2.7.0vis builder