Bump version

This commit is contained in:
Mathieu Acthernoene 2019-01-01 16:51:11 +01:00
parent 95bd5561c5
commit 828ee9875d
2 changed files with 12 additions and 12 deletions

22
index.d.ts vendored
View File

@ -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;
}

View File

@ -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",