Make exports consistent (#269)

* Make exports consistent

* Cleanup trie impl
This commit is contained in:
Jaco Greeff
2018-12-09 13:25:14 +01:00
committed by GitHub
parent 23ced723df
commit cab0713f33
21 changed files with 120 additions and 259 deletions
+6 -13
View File
@@ -2,19 +2,12 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import stringCamelCase from './camelCase';
import stringLowerFirst from './lowerFirst';
import stringShorten from './shorten';
import stringToU8a from './toU8a';
import stringUpperFirst from './upperFirst';
/**
* @summary Utility methods to convert to work with `string` values
*/
export {
stringCamelCase,
stringLowerFirst,
stringShorten,
stringToU8a,
stringUpperFirst
};
export { default as stringCamelCase } from './camelCase';
export { default as stringLowerFirst } from './lowerFirst';
export { default as stringShorten } from './shorten';
export { default as stringToU8a } from './toU8a';
export { default as stringUpperFirst } from './upperFirst';