mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-17 15:38:25 +00:00
修改resourceManager resmgr到resourceManager
Signed-off-by: huangjie <huangjie125@huawei.com>
This commit is contained in:
parent
3388d7887d
commit
3aa4a5f1ec
6
api/@ohos.resourceManager.d.ts
vendored
6
api/@ohos.resourceManager.d.ts
vendored
@ -13,7 +13,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Context } from './app/context';
|
||||
import Context from './application/Context';
|
||||
|
||||
/**
|
||||
* Provides resource related APIs.
|
||||
@ -21,7 +21,7 @@ import { Context } from './app/context';
|
||||
* @since 6
|
||||
* @devices phone, tablet, tv, wearable, car
|
||||
*/
|
||||
declare namespace resmgr {
|
||||
declare namespace resourceManager {
|
||||
/**
|
||||
* Enumerates screen directions.
|
||||
*
|
||||
@ -426,4 +426,4 @@ export interface ResourceManager {
|
||||
getRawFile(path: string): Promise<Uint8Array>;
|
||||
}
|
||||
}
|
||||
export default resmgr;
|
||||
export default resourceManager;
|
Loading…
x
Reference in New Issue
Block a user