Skip to content

Commit

Permalink
Remove deprecation from SharedDirectory (#21423) (#21432)
Browse files Browse the repository at this point in the history
Remove the deprecation tag from SharedDirectory, to make it consistent
with other SharedObjects

Cherry pick of
d9ad80d

Co-authored-by: clarenceli-msft <[email protected]>
  • Loading branch information
scottn12 and clarenceli-msft authored Jun 14, 2024
1 parent 5ec9315 commit efcb8bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/dds/map/api-report/map.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class MapFactory implements IChannelFactory<ISharedMap> {
// @alpha
export const SharedDirectory: ISharedObjectKind<ISharedDirectory>;

// @alpha @deprecated
// @alpha
export type SharedDirectory = ISharedDirectory;

// @alpha
Expand Down
1 change: 0 additions & 1 deletion packages/dds/map/src/directoryFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const SharedDirectory: ISharedObjectKind<ISharedDirectory> =
/**
* Entrypoint for {@link ISharedDirectory} creation.
* @alpha
* @deprecated Use ISharedDirectory instead.
* @privateRemarks
* This alias is for legacy compat from when the SharedDirectory class was exported as public.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ export type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
// @alpha
export const SharedDirectory: ISharedObjectKind<ISharedDirectory>;

// @alpha @deprecated
// @alpha
export type SharedDirectory = ISharedDirectory;

// @alpha
Expand Down

0 comments on commit efcb8bd

Please sign in to comment.