From f25df093a80c6daef3173674ba553a83e4638e4f Mon Sep 17 00:00:00 2001 From: songcongyi Date: Sat, 31 Jul 2021 17:49:17 +0800 Subject: [PATCH] fixed 3bebe00 from https://gitee.com/zhanghaibo0/interface_sdk-js/pulls/16 fix oat scan problem Change-Id: I3fde39bd92d2449263c3e4eb73a19de39dea196f --- api/phone/@ohos.fileio.d.ts | 15 +++++++++++++++ api/phone/basic.d.ts | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/api/phone/@ohos.fileio.d.ts b/api/phone/@ohos.fileio.d.ts index 551add7f9c..b0b6c66619 100644 --- a/api/phone/@ohos.fileio.d.ts +++ b/api/phone/@ohos.fileio.d.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export default fileIO; /** * This callback is fileIO error callback diff --git a/api/phone/basic.d.ts b/api/phone/basic.d.ts index d035c73302..e55591b491 100755 --- a/api/phone/basic.d.ts +++ b/api/phone/basic.d.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export interface Callback { (data: T): void; } -- Gitee