diff --git a/api/@ohos.display.d.ts b/api/@ohos.display.d.ts index 332ab04ba307e959f9e94324a22f0938869530e8..8903ed874575384c101f9094f70af5c5b4fcf258 100644 --- a/api/@ohos.display.d.ts +++ b/api/@ohos.display.d.ts @@ -33,6 +33,12 @@ declare namespace display { */ function getDefaultDisplay(): Promise; + /** + * Obtain the default display. + * @since 9 + */ + function getDefaultDisplaySync(): Display; + /** * Obtain all displays. * @since 7