revert depth() addition

This commit is contained in:
Simon Knott 2024-11-04 11:17:46 +01:00
parent 6528ec3aba
commit 217b1540fb
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -948,12 +948,6 @@ export class Frame extends SdkObject {
return this._parentFrame;
}
depth(): number {
if (!this._parentFrame)
return 0;
return this._parentFrame.depth() + 1;
}
childFrames(): Frame[] {
return Array.from(this._childFrames);
}