From 1f8f4062ea5e6ce76078b3746d9c7bb39d633953 Mon Sep 17 00:00:00 2001 From: l00438547 Date: Wed, 9 Mar 2022 17:24:36 +0800 Subject: [PATCH] Fix Differences Signed-off-by: l00438547 --- api/@ohos.nfc.cardEmulation.d.ts | 4 ++-- api/@ohos.nfc.controller.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.nfc.cardEmulation.d.ts b/api/@ohos.nfc.cardEmulation.d.ts index 505b362654..dbf97d6257 100755 --- a/api/@ohos.nfc.cardEmulation.d.ts +++ b/api/@ohos.nfc.cardEmulation.d.ts @@ -22,7 +22,7 @@ * @syscap SystemCapability.Communication.NFC.Core */ declare namespace cardEmulation { - enum Featuretype { + enum FeatureType { /** This constant is used to check whether HCE card emulation is supported. */ HCE = 0, @@ -44,7 +44,7 @@ declare namespace cardEmulation { * * @since 6 */ - function isSupported(feature: number):boolean; + function isSupported(feature: number): boolean; /** * A class for NFC host application. diff --git a/api/@ohos.nfc.controller.d.ts b/api/@ohos.nfc.controller.d.ts index 35c767cb74..c0fd42b065 100755 --- a/api/@ohos.nfc.controller.d.ts +++ b/api/@ohos.nfc.controller.d.ts @@ -110,7 +110,7 @@ declare namespace nfcController { * * @since 7 */ - function getNfcState(): boolean + function getNfcState(): NfcState } -export default nfcController; \ No newline at end of file +export default nfcController; -- Gitee