diff --git a/api/phone/@ohos.fileio.d.ts b/api/phone/@ohos.fileio.d.ts index 551add7f9cbb1fcf072761e0c8f4de2b9f58292c..b0b6c666197ed74d2d7d59762721f5efdc990f23 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 d035c73302cf40087582bd8591500d30c44549fb..e55591b491fb19f037b3c16c1bd5dfcef5dc6e30 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; }