Skip to content

Commit

Permalink
chore: remove 'applyMixins' function (#6774)
Browse files Browse the repository at this point in the history
* remove apply mixins from exported features

* Change files

* Update change/@microsoft-fast-foundation-b1cdc933-e7be-42e8-8d85-95a5af001f1a.json

---------

Co-authored-by: nicholasrice <[email protected]>
Co-authored-by: Chris Holt <[email protected]>
  • Loading branch information
3 people authored Jul 18, 2023
1 parent b5f23eb commit 57f3c22
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Removed the 'applyMixins' function from exported features.",
"packageName": "@microsoft/fast-foundation",
"email": "[email protected]",
"dependentChangeType": "prerelease"
}
3 changes: 0 additions & 3 deletions packages/web-components/fast-foundation/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ export type AnchorTarget = ValuesOf<typeof AnchorTarget>;
// @public
export function anchorTemplate<T extends FASTAnchor>(options?: AnchorOptions): ViewTemplate<T>;

// @public
export function applyMixins(derivedCtor: any, ...baseCtors: any[]): void;

// @public
export class ARIAGlobalStatesAndProperties {
ariaAtomic: "true" | "false" | string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AttributeConfiguration } from "@microsoft/fast-element";
/**
* Apply mixins to a constructor.
* Sourced from {@link https://www.typescriptlang.org/docs/handbook/mixins.html | TypeScript Documentation }.
* @public
* @internal
*/
export function applyMixins(derivedCtor: any, ...baseCtors: any[]) {
const derivedAttributes = AttributeConfiguration.locate(derivedCtor);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./apply-mixins.js";
export * from "./direction.js";
export * from "./match-media-stylesheet-behavior.js";
export * from "./property-stylesheet-behavior.js";
Expand Down

0 comments on commit 57f3c22

Please sign in to comment.