fix name clash
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
import {ExpoBlueskySwissArmyModuleType} from './ExpoBlueskySwissArmy.types'
|
import {ExpoBlueskySwissArmyModuleType} from './ExpoBlueskySwissArmy.types'
|
||||||
|
|
||||||
export const ExpoBlueskySwissArmyModule: ExpoBlueskySwissArmyModuleType = {
|
export const ExpoBlueskySwissArmyModule: ExpoBlueskySwissArmyModuleType = {
|
||||||
getStringValueAsync(_: string, _?: boolean): Promise<string> {
|
getStringValueAsync(_: string, __?: boolean): Promise<string> {
|
||||||
throw new Error('getStringValueAsync is not available on Android')
|
throw new Error('getStringValueAsync is not available on Android')
|
||||||
},
|
},
|
||||||
setStringValueAsync(_: string, _: string | null, _?: boolean): Promise<void> {
|
setStringValueAsync(
|
||||||
|
_: string,
|
||||||
|
__: string | null,
|
||||||
|
___?: boolean,
|
||||||
|
): Promise<void> {
|
||||||
throw new Error('setStringValueAsync is not available on Android')
|
throw new Error('setStringValueAsync is not available on Android')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
import {ExpoBlueskySwissArmyModuleType} from './ExpoBlueskySwissArmy.types'
|
import {ExpoBlueskySwissArmyModuleType} from './ExpoBlueskySwissArmy.types'
|
||||||
|
|
||||||
export const ExpoBlueskySwissArmyModule: ExpoBlueskySwissArmyModuleType = {
|
export const ExpoBlueskySwissArmyModule: ExpoBlueskySwissArmyModuleType = {
|
||||||
getStringValueAsync(_: string, _?: boolean): Promise<string> {
|
getStringValueAsync(_: string, __?: boolean): Promise<string> {
|
||||||
throw new Error('getStringValueAsync is not available on web')
|
throw new Error('getStringValueAsync is not available on web')
|
||||||
},
|
},
|
||||||
setStringValueAsync(_: string, _: string | null, _?: boolean): Promise<void> {
|
setStringValueAsync(
|
||||||
|
_: string,
|
||||||
|
__: string | null,
|
||||||
|
___?: boolean,
|
||||||
|
): Promise<void> {
|
||||||
throw new Error('setStringValueAsync is not available on web')
|
throw new Error('setStringValueAsync is not available on web')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user