Skip to content

fix: Cannot use TypeScript > 4.3.5 when importing FAST components #5198

Description

@janechu

🐛 Bug Report

TypeScript 4+ cannot be used with the @microsoft/fast-components package.

💻 Repro or Code Sample

I have created a repro here: https://github.com/janechu/typescript-4-fast-components-test

🤔 Expected Behavior

No errors and successful compilation.

😯 Current Behavior

The following errors are generated when running the above repository.

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaAtomic' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaBusy' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaDisabled' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaExpanded' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaHidden' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:245:26 - error TS2320: Interface 'Anchor' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIALink'.
  Named property 'ariaLive' of types 'FoundationElement' and 'DelegatesARIALink' are not identical.

245 export declare interface Anchor extends StartEnd, DelegatesARIALink {
                             ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaAtomic' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaBusy' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaDisabled' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaExpanded' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaHidden' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1031:26 - error TS2320: Interface 'BreadcrumbItem' cannot simultaneously extend types 'Anchor' and 'DelegatesARIALink'.
  Named property 'ariaLive' of types 'Anchor' and 'DelegatesARIALink' are not identical.

1031 export declare interface BreadcrumbItem extends StartEnd, DelegatesARIALink {
                              ~~~~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaAtomic' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaBusy' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaDisabled' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaExpanded' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaHidden' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaLive' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1166:26 - error TS2320: Interface 'Button' cannot simultaneously extend types 'FormAssociatedButton' and 'DelegatesARIAButton'.
  Named property 'ariaPressed' of types 'FormAssociatedButton' and 'DelegatesARIAButton' are not identical.

1166 export declare interface Button extends StartEnd, DelegatesARIAButton {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1604:26 - error TS2320: Interface 'Combobox' cannot simultaneously extend types 'FormAssociatedCombobox' and 'DelegatesARIACombobox'.
  Named property 'ariaAtomic' of types 'FormAssociatedCombobox' and 'DelegatesARIACombobox' are not identical.

1604 export declare interface Combobox extends StartEnd, DelegatesARIACombobox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1604:26 - error TS2320: Interface 'Combobox' cannot simultaneously extend types 'FormAssociatedCombobox' and 'DelegatesARIACombobox'.
  Named property 'ariaBusy' of types 'FormAssociatedCombobox' and 'DelegatesARIACombobox' are not identical.

1604 export declare interface Combobox extends StartEnd, DelegatesARIACombobox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1604:26 - error TS2320: Interface 'Combobox' cannot simultaneously extend types 'FormAssociatedCombobox' and 'DelegatesARIACombobox'.
  Named property 'ariaDisabled' of types 'FormAssociatedCombobox' and 'DelegatesARIACombobox' are not identical.

1604 export declare interface Combobox extends StartEnd, DelegatesARIACombobox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1604:26 - error TS2320: Interface 'Combobox' cannot simultaneously extend types 'FormAssociatedCombobox' and 'DelegatesARIACombobox'.
  Named property 'ariaHidden' of types 'FormAssociatedCombobox' and 'DelegatesARIACombobox' are not identical.

1604 export declare interface Combobox extends StartEnd, DelegatesARIACombobox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:1604:26 - error TS2320: Interface 'Combobox' cannot simultaneously extend types 'FormAssociatedCombobox' and 'DelegatesARIACombobox'.
  Named property 'ariaLive' of types 'FormAssociatedCombobox' and 'DelegatesARIACombobox' are not identical.

1604 export declare interface Combobox extends StartEnd, DelegatesARIACombobox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaAtomic' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaBusy' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaDisabled' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaExpanded' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaHidden' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4237:26 - error TS2320: Interface 'Listbox' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAListbox'.
  Named property 'ariaLive' of types 'FoundationElement' and 'DelegatesARIAListbox' are not identical.

4237 export declare interface Listbox extends DelegatesARIAListbox {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4879:26 - error TS2320: Interface 'NumberField' cannot simultaneously extend types 'FormAssociatedNumberField' and 'DelegatesARIATextbox'.
  Named property 'ariaAtomic' of types 'FormAssociatedNumberField' and 'DelegatesARIATextbox' are not identical.

4879 export declare interface NumberField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4879:26 - error TS2320: Interface 'NumberField' cannot simultaneously extend types 'FormAssociatedNumberField' and 'DelegatesARIATextbox'.
  Named property 'ariaBusy' of types 'FormAssociatedNumberField' and 'DelegatesARIATextbox' are not identical.

4879 export declare interface NumberField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4879:26 - error TS2320: Interface 'NumberField' cannot simultaneously extend types 'FormAssociatedNumberField' and 'DelegatesARIATextbox'.
  Named property 'ariaDisabled' of types 'FormAssociatedNumberField' and 'DelegatesARIATextbox' are not identical.

4879 export declare interface NumberField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4879:26 - error TS2320: Interface 'NumberField' cannot simultaneously extend types 'FormAssociatedNumberField' and 'DelegatesARIATextbox'.
  Named property 'ariaHidden' of types 'FormAssociatedNumberField' and 'DelegatesARIATextbox' are not identical.

4879 export declare interface NumberField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:4879:26 - error TS2320: Interface 'NumberField' cannot simultaneously extend types 'FormAssociatedNumberField' and 'DelegatesARIATextbox'.
  Named property 'ariaLive' of types 'FormAssociatedNumberField' and 'DelegatesARIATextbox' are not identical.

4879 export declare interface NumberField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaAtomic' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaBusy' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaDisabled' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaExpanded' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaHidden' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaLive' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:5640:26 - error TS2320: Interface 'Select' cannot simultaneously extend types 'FormAssociatedSelect' and 'DelegatesARIASelect'.
  Named property 'ariaPressed' of types 'FormAssociatedSelect' and 'DelegatesARIASelect' are not identical.

5640 export declare interface Select extends StartEnd, DelegatesARIASelect {
                              ~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6566:26 - error TS2320: Interface 'TextArea' cannot simultaneously extend types 'FormAssociatedTextArea' and 'DelegatesARIATextbox'.
  Named property 'ariaAtomic' of types 'FormAssociatedTextArea' and 'DelegatesARIATextbox' are not identical.

6566 export declare interface TextArea extends DelegatesARIATextbox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6566:26 - error TS2320: Interface 'TextArea' cannot simultaneously extend types 'FormAssociatedTextArea' and 'DelegatesARIATextbox'.
  Named property 'ariaBusy' of types 'FormAssociatedTextArea' and 'DelegatesARIATextbox' are not identical.

6566 export declare interface TextArea extends DelegatesARIATextbox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6566:26 - error TS2320: Interface 'TextArea' cannot simultaneously extend types 'FormAssociatedTextArea' and 'DelegatesARIATextbox'.
  Named property 'ariaDisabled' of types 'FormAssociatedTextArea' and 'DelegatesARIATextbox' are not identical.

6566 export declare interface TextArea extends DelegatesARIATextbox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6566:26 - error TS2320: Interface 'TextArea' cannot simultaneously extend types 'FormAssociatedTextArea' and 'DelegatesARIATextbox'.
  Named property 'ariaHidden' of types 'FormAssociatedTextArea' and 'DelegatesARIATextbox' are not identical.

6566 export declare interface TextArea extends DelegatesARIATextbox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6566:26 - error TS2320: Interface 'TextArea' cannot simultaneously extend types 'FormAssociatedTextArea' and 'DelegatesARIATextbox'.
  Named property 'ariaLive' of types 'FormAssociatedTextArea' and 'DelegatesARIATextbox' are not identical.

6566 export declare interface TextArea extends DelegatesARIATextbox {
                              ~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6728:26 - error TS2320: Interface 'TextField' cannot simultaneously extend types 'FormAssociatedTextField' and 'DelegatesARIATextbox'.
  Named property 'ariaAtomic' of types 'FormAssociatedTextField' and 'DelegatesARIATextbox' are not identical.

6728 export declare interface TextField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6728:26 - error TS2320: Interface 'TextField' cannot simultaneously extend types 'FormAssociatedTextField' and 'DelegatesARIATextbox'.
  Named property 'ariaBusy' of types 'FormAssociatedTextField' and 'DelegatesARIATextbox' are not identical.

6728 export declare interface TextField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6728:26 - error TS2320: Interface 'TextField' cannot simultaneously extend types 'FormAssociatedTextField' and 'DelegatesARIATextbox'.
  Named property 'ariaDisabled' of types 'FormAssociatedTextField' and 'DelegatesARIATextbox' are not identical.

6728 export declare interface TextField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6728:26 - error TS2320: Interface 'TextField' cannot simultaneously extend types 'FormAssociatedTextField' and 'DelegatesARIATextbox'.
  Named property 'ariaHidden' of types 'FormAssociatedTextField' and 'DelegatesARIATextbox' are not identical.

6728 export declare interface TextField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6728:26 - error TS2320: Interface 'TextField' cannot simultaneously extend types 'FormAssociatedTextField' and 'DelegatesARIATextbox'.
  Named property 'ariaLive' of types 'FormAssociatedTextField' and 'DelegatesARIATextbox' are not identical.

6728 export declare interface TextField extends StartEnd, DelegatesARIATextbox {
                              ~~~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6895:26 - error TS2320: Interface 'Toolbar' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAToolbar'.
  Named property 'ariaAtomic' of types 'FoundationElement' and 'DelegatesARIAToolbar' are not identical.

6895 export declare interface Toolbar extends StartEnd, DelegatesARIAToolbar {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6895:26 - error TS2320: Interface 'Toolbar' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAToolbar'.
  Named property 'ariaBusy' of types 'FoundationElement' and 'DelegatesARIAToolbar' are not identical.

6895 export declare interface Toolbar extends StartEnd, DelegatesARIAToolbar {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6895:26 - error TS2320: Interface 'Toolbar' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAToolbar'.
  Named property 'ariaDisabled' of types 'FoundationElement' and 'DelegatesARIAToolbar' are not identical.

6895 export declare interface Toolbar extends StartEnd, DelegatesARIAToolbar {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6895:26 - error TS2320: Interface 'Toolbar' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAToolbar'.
  Named property 'ariaHidden' of types 'FoundationElement' and 'DelegatesARIAToolbar' are not identical.

6895 export declare interface Toolbar extends StartEnd, DelegatesARIAToolbar {
                              ~~~~~~~

node_modules/@microsoft/fast-foundation/dist/fast-foundation.d.ts:6895:26 - error TS2320: Interface 'Toolbar' cannot simultaneously extend types 'FoundationElement' and 'DelegatesARIAToolbar'.
  Named property 'ariaLive' of types 'FoundationElement' and 'DelegatesARIAToolbar' are not identical.

6895 export declare interface Toolbar extends StartEnd, DelegatesARIAToolbar {
                              ~~~~~~~


Found 57 errors.

💁 Possible Solution

Update the typings in the error list above.

🔦 Context

In the course of attempting to upgrade all dependencies to overcome some npm audit warnings (webpack 5, ts-loader 9+, etc.) this issue was found.

Metadata

Metadata

Assignees

Labels

area:fast-elementPertains to fast-elementarea:fast-foundationPertains to fast-foundationbugA bugcommunity:noteworthyAn issue or PR of particular interest to the community or planned for an announcement.status:in-progressWork is in progress

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions