Bump version
This commit is contained in:
parent
95bd5561c5
commit
828ee9875d
|
@ -1,22 +1,22 @@
|
|||
declare module 'react-native-languages' {
|
||||
interface EventData {
|
||||
language: string
|
||||
languages: string[]
|
||||
language: string;
|
||||
languages: string[];
|
||||
}
|
||||
|
||||
type EventHandler = (eventData: EventData) => any
|
||||
type EventHandler = (eventData: EventData) => any;
|
||||
|
||||
interface RNLanguagesModule {
|
||||
readonly language: string
|
||||
readonly languages: string[]
|
||||
addEventListener: (type: 'change', handler: EventHandler) => void
|
||||
removeEventListener: (type: 'change', handler: EventHandler) => void
|
||||
readonly language: string;
|
||||
readonly languages: string[];
|
||||
addEventListener: (type: 'change', handler: EventHandler) => void;
|
||||
removeEventListener: (type: 'change', handler: EventHandler) => void;
|
||||
}
|
||||
|
||||
export const language: string
|
||||
export const languages: string[]
|
||||
export const language: string;
|
||||
export const languages: string[];
|
||||
|
||||
let Module: RNLanguagesModule
|
||||
let Module: RNLanguagesModule;
|
||||
|
||||
export default Module
|
||||
export default Module;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-native-languages",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"license": "MIT",
|
||||
"description": "React Native properties and methods related to the language of the device",
|
||||
"repository": "https://github.com/react-community/react-native-languages",
|
||||
|
|
Loading…
Reference in New Issue