DefinitelyTyped/types/localizejs-library/localizejs-library-tests.ts
Samer Albahra 354d5b31f3 Add typing for LocalizeJS Library (#20098)
* Add typing for LocalizeJS

This adds the library typings for LocalizeJS

* Add private to `package.json` for Travis testing

* Remove conflicting files from typing

* Fix all lint errors

* Rename `LocalizeJS` to `LocalizeJS Library`
2017-10-02 11:51:21 -07:00

4 lines
72 B
TypeScript

const current = Localize.getLanguage();
Localize.setLanguage(current);