Skip to content

Commit d7cc2e5

Browse files
TheIronDevtaeold
andauthored
Update documentation for src/common/change.ts (#1201)
Update documentation for src/common/change.ts * Removing `@hidden` * Make fn internal. Co-authored-by: Daniel Lee <[email protected]>
1 parent 960f094 commit d7cc2e5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/common/change.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ export interface ChangeJson {
3434
*/
3535
before?: any;
3636
/**
37-
* @hidden
3837
* Comma-separated string that represents names of fields that changed.
3938
*/
4039
fieldMask?: string;
4140
}
4241

43-
/** @hidden */
42+
/** @internal */
4443
export function applyFieldMask(sparseBefore: any, after: any, fieldMask: string) {
4544
const before = { ...after };
4645
const masks = fieldMask.split(",");
@@ -74,7 +73,6 @@ export function applyFieldMask(sparseBefore: any, after: any, fieldMask: string)
7473
*/
7574
export class Change<T> {
7675
/**
77-
* @hidden
7876
* Factory method for creating a Change from a `before` object and an `after`
7977
* object.
8078
*/
@@ -83,7 +81,6 @@ export class Change<T> {
8381
}
8482

8583
/**
86-
* @hidden
8784
* Factory method for creating a Change from a JSON and an optional customizer
8885
* function to be applied to both the `before` and the `after` fields.
8986
*/

0 commit comments

Comments
 (0)