Skip to content

Commit 2ffbbd2

Browse files
committed
Removed unused file and normalized function is now exported as default
- index.js - empty file removed ~ src/index.ts - normalized function updated
1 parent 0bb3cd1 commit 2ffbbd2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

index.js

Whitespace-only changes.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface Result {
2020
* @throws {Error} A data relationship item does not contain type field.
2121
* @return {Object} result - Normalized response from server
2222
*/
23-
export function normalize(response: any) {
23+
export default function normalize(response: any) {
2424
// Validating data field from the server response
2525
validate(response);
2626

0 commit comments

Comments
 (0)