Skip to content

Commit

Permalink
Remove deprecation from SharedDirectory (#21423) (#21431)
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 d542e3e commit acafbcc
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 @@ -101,7 +101,7 @@ export class MapFactory implements IChannelFactory<ISharedMap> {
// @alpha @sealed
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 @@ -113,7 +113,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 @@ -2179,7 +2179,7 @@ export type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
// @alpha @sealed
export const SharedDirectory: ISharedObjectKind<ISharedDirectory>;

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

// @alpha
Expand Down

0 comments on commit acafbcc

Please sign in to comment.