diff --git a/api/@ohos.nfc.cardEmulation.d.ts b/api/@ohos.nfc.cardEmulation.d.ts index 505b3626541da02b08e77fa90e2e684296e0518d..dbf97d6257528fc8ee1871a4c6f6eae68962d6bf 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 35c767cb74618c89ea51714b075c0c164d8ad750..c0fd42b065a28fc59df5585791caa86a01b8b868 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;